typedef int (*msghandler)(Client*, Msg*); int handlemsg(Client*, Msg*);