PageRenderTime 16ms CodeModel.GetById 1ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 0ms

/instServer/protos.h

http://github.com/Yniold/liftsrc
C Header | 20 lines | 17 code | 0 blank | 3 comment | 0 complexity | 251fb4da80701d4ae24027d5f19dab64 MD5 | raw file
 1/* cfgnear.c */
 2long fcopy(char *dest, char *source);
 3int input_config(char *filename, struct Config_Tag configs[], char *header);
 4int update_config(char *filename, struct Config_Tag configs[], char *header);
 5/* logerror.c */
 6void LogError(char *Message);
 7/* main.c */
 8int DoMotor(struct ClientMessageType *ptrClientMessage);
 9int DoValve(struct ClientMessageType *ptrClientMessage);
10int FindFkt(struct InterprFktType *ptr1, struct InterprFktType *ptr2);
11int ParseMsg(char *ptrLine, unsigned nbytes, struct ActiveClientStructType *ptrActiveClientStruct);
12int InitTCPListener(int portnum);
13void InitClientAccessList(struct ClientRightAscType *ptrClientRightAscList, struct ClientListType **pptrClientRightList);
14void ReleaseClientAccessList(struct ClientListType *ptrClientRightList);
15struct ClientListType *ValidateAddress(struct sockaddr_in *ptrRemoteAddr, struct ClientListType *ptrClientRightList);
16int InitActiveClientStruct(struct ActiveClientStructType *ActiveClientStruct);
17void ReleaseActiveClientStruct(struct ActiveClientStructType *ActiveClientStruct);
18int AddClientToList(struct ActiveClientStructType *ptrActiveClientStruct, struct ClientListType *ptrNewClient, int newfd);
19int RemoveClientFromList(struct ActiveClientStructType *ptrActiveClientStruct, int fd);
20int main(int argc, char *argv[]);