]> Pileus Git - ~andy/csm213a-hw/blobdiff - hw2/messages.h
Refactor main into separate files
[~andy/csm213a-hw] / hw2 / messages.h
index 2e84107aee849df9c071657aa05e103727c60520..9f7dd712e9518bd7040635da21af9c5f4ca8de07 100644 (file)
@@ -65,7 +65,7 @@ typedef struct {
  * Message Parser *
  ******************/
 
-typedef void (*handler_t)(int msgid, void *msg);
+typedef void (*handler_t)(header_t *head, void *body);
 
 typedef struct {
        int       index;