… | |
… | |
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); |
|
|
61 | short GetShort_String(unsigned char *data); |
|
|
62 | int SockList_ReadPacket(int fd, SockList *sl, int len); |
|
|
63 | void write_socket_buffer(NewSocket *ns); |
55 | void write_socket_buffer(NewSocket *ns); |
64 | void Write_To_Socket(NewSocket *ns, char *buf, int len); |
56 | void Write_To_Socket(NewSocket *ns, char *buf, int len); |
65 | void cs_write_string(NewSocket *ns, const char *buf, int len); |
|
|
66 | void Send_With_Handling(NewSocket *ns, SockList *msg); |
57 | void Send_With_Handling(NewSocket *ns, packet *msg); |
67 | void Write_String_To_Socket(NewSocket *ns, char *buf, int len); |
|
|
68 | void write_cs_stats(void); |
58 | void write_cs_stats(void); |
69 | /* request.c */ |
59 | /* request.c */ |
70 | void SetUp(char *buf, int len, NewSocket *ns); |
60 | void SetUp(char *buf, int len, NewSocket *ns); |
71 | void AddMeCmd(char *buf, int len, NewSocket *ns); |
61 | void AddMeCmd(char *buf, int len, NewSocket *ns); |
72 | void ToggleExtendedInfos(char *buf, int len, NewSocket *ns); |
62 | void ToggleExtendedInfos(char *buf, int len, NewSocket *ns); |