… | |
… | |
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); |
57 | void cs_write_string(NewSocket *ns, const char *buf, int len); |
66 | void Send_With_Handling(NewSocket *ns, SockList *msg); |
58 | void Send_With_Handling(NewSocket *ns, SockList *msg); |
67 | void Write_String_To_Socket(NewSocket *ns, char *buf, int len); |
59 | void Write_String_To_Socket(NewSocket *ns, char *buf, int len); |
68 | void write_cs_stats(void); |
60 | void write_cs_stats(void); |
69 | /* metaserver.c */ |
|
|
70 | void metaserver_init(void); |
|
|
71 | void metaserver_update(void); |
|
|
72 | /* request.c */ |
61 | /* request.c */ |
73 | void SetUp(char *buf, int len, NewSocket *ns); |
62 | void SetUp(char *buf, int len, NewSocket *ns); |
74 | void AddMeCmd(char *buf, int len, NewSocket *ns); |
63 | void AddMeCmd(char *buf, int len, NewSocket *ns); |
75 | void ToggleExtendedInfos(char *buf, int len, NewSocket *ns); |
64 | void ToggleExtendedInfos(char *buf, int len, NewSocket *ns); |
76 | void ToggleExtendedText (char *buf, int len, NewSocket *ns); |
65 | void ToggleExtendedText (char *buf, int len, NewSocket *ns); |