You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #ifndef LICK_MESSAGE_H
- #define LICKS_MESSAGE_H
-
- #include "dynamic_sequencer.h"
- #include <sys/types.h>
-
- #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
|