diff options
Diffstat (limited to 'protocol.h')
-rw-r--r-- | protocol.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -39,6 +39,15 @@ struct StationInfo { char *infoString; } __attribute__((packed)); +struct StationShutdown { + uint8_t replyType; // 7 +} __attribute__((packed)); + +struct NewStation { + uint8_t replyType; // 8 + uint16_t stationNumber; +} __attribute__((packed)); + int send_all(int sock, char *buf, int *len); int recv_all(int sock, char *buf, int *len); |