#ifndef LICK_MESSAGE_H #define LICKS_MESSAGE_H #include "dynamic_sequencer.h" #include #define MSG_QUIT 'X' #define MSG_POWER 'P' #define MSG_GAIT 'G' #define MSG_BODY 'B' #define MSG_LEG 'L' #define MSG_QUERY 'Q' typedef struct { char type; char parameters[255]; } licks_message; extern void licks_socket_open(); extern void licks_socket_close(); extern int licks_socket_poll(); //extern void send_message(licks_message *, char *); extern void send_reply(licks_message *); extern char *receive_message(licks_message *); #endif