… | |
… | |
50 | void watchdog(void); |
50 | void watchdog(void); |
51 | void flush_sockets(void); |
51 | void flush_sockets(void); |
52 | void doeric_server(void); |
52 | void doeric_server(void); |
53 | /* lowlevel.c */ |
53 | /* lowlevel.c */ |
54 | void Socket_Flush (NewSocket *ns); |
54 | void Socket_Flush (NewSocket *ns); |
55 | void SockList_Init(SockList *sl); |
|
|
56 | void SockList_AddChar(SockList *sl, char c); |
|
|
57 | void SockList_AddShort(SockList *sl, uint16 data); |
|
|
58 | void SockList_AddInt(SockList *sl, uint32 data); |
|
|
59 | void SockList_AddInt64(SockList *sl, uint64 data); |
|
|
60 | int GetInt_String(unsigned char *data); |
55 | int GetInt_String(unsigned char *data); |
61 | short GetShort_String(unsigned char *data); |
56 | short GetShort_String(unsigned char *data); |
62 | int SockList_ReadPacket(int fd, SockList *sl, int len); |
57 | int SockList_ReadPacket(int fd, SockList *sl, int len); |
63 | void write_socket_buffer(NewSocket *ns); |
58 | void write_socket_buffer(NewSocket *ns); |
64 | void Write_To_Socket(NewSocket *ns, char *buf, int len); |
59 | void Write_To_Socket(NewSocket *ns, char *buf, int len); |