lscp_parser.h   lscp_parser.h 
skipping to change at line 33 skipping to change at line 33
char *pchBuffer; char *pchBuffer;
int cchBuffer; int cchBuffer;
char *pszToken; char *pszToken;
char *pch; char *pch;
} lscp_parser_t; } lscp_parser_t;
void lscp_parser_init (lscp_parser_t *pParser, const char *pchBuf fer, int cchBuffer); void lscp_parser_init (lscp_parser_t *pParser, const char *pchBuf fer, int cchBuffer);
const char *lscp_parser_next (lscp_parser_t *pParser); const char *lscp_parser_next (lscp_parser_t *pParser);
int lscp_parser_nextint (lscp_parser_t *pParser); int lscp_parser_nextint (lscp_parser_t *pParser);
float lscp_parser_nextnum (lscp_parser_t *pParser);
int lscp_parser_test (lscp_parser_t *pParser, const char *pszTok en); int lscp_parser_test (lscp_parser_t *pParser, const char *pszTok en);
int lscp_parser_test2 (lscp_parser_t *pParser, const char *pszTok en, const char *pszToken2); int lscp_parser_test2 (lscp_parser_t *pParser, const char *pszTok en, const char *pszToken2);
void lscp_parser_free (lscp_parser_t *pParser); void lscp_parser_free (lscp_parser_t *pParser);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif // __LSCP_PARSER_H #endif // __LSCP_PARSER_H
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 lscp_server.h   lscp_server.h 
skipping to change at line 59 skipping to change at line 59
void *pvData; void *pvData;
lscp_socket_agent_t tcp; lscp_socket_agent_t tcp;
lscp_socket_agent_t udp; lscp_socket_agent_t udp;
lscp_thread_t *pWatchdog; lscp_thread_t *pWatchdog;
int iWatchdog; int iWatchdog;
int iSleep; int iSleep;
} lscp_server_t; } lscp_server_t;
lscp_server_t* lscp_server_create (int iPort, lscp_server_proc_t pfnC allback, void *pvData); lscp_server_t* lscp_server_create (int iPort, lscp_server_proc_t pfnC allback, void *pvData);
lscp_status_t lscp_server_join (lscp_server_t *pServer);
lscp_status_t lscp_server_destroy (lscp_server_t *pServer); lscp_status_t lscp_server_destroy (lscp_server_t *pServer);
lscp_status_t lscp_server_broadcast (lscp_server_t *pServer, const char *pchBuffer, int cchBuffer); lscp_status_t lscp_server_broadcast (lscp_server_t *pServer, const char *pchBuffer, int cchBuffer);
lscp_status_t lscp_server_result (lscp_connect_t *pConnect, const ch ar *pchBuffer, int cchBuffer); lscp_status_t lscp_server_result (lscp_connect_t *pConnect, const ch ar *pchBuffer, int cchBuffer);
lscp_status_t lscp_server_subscribe (lscp_connect_t *pConnect, int iPor t); lscp_status_t lscp_server_subscribe (lscp_connect_t *pConnect, int iPor t);
lscp_status_t lscp_server_unsubscribe (lscp_connect_t *pConnect); lscp_status_t lscp_server_unsubscribe (lscp_connect_t *pConnect, const ch ar *pszSessionID);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif // __LSCP_SERVER_H #endif // __LSCP_SERVER_H
// end of lscp_server.h // end of lscp_server.h
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added


 lscp_socket.h   lscp_socket.h 
skipping to change at line 62 skipping to change at line 62
lscp_socket_t sock; lscp_socket_t sock;
struct sockaddr_in addr; struct sockaddr_in addr;
lscp_thread_t *pThread; lscp_thread_t *pThread;
int iState; int iState;
} lscp_socket_agent_t; } lscp_socket_agent_t;
void lscp_socket_agent_init (lscp_socket_agent_t *pAgent, lscp_so cket_t sock, struct sockaddr_in *pAddr, int cAddr); void lscp_socket_agent_init (lscp_socket_agent_t *pAgent, lscp_so cket_t sock, struct sockaddr_in *pAddr, int cAddr);
lscp_status_t lscp_socket_agent_start (lscp_socket_agent_t *pAgent, lscp_th read_proc_t pfnProc, void *pvData, int iDetach); lscp_status_t lscp_socket_agent_start (lscp_socket_agent_t *pAgent, lscp_th read_proc_t pfnProc, void *pvData, int iDetach);
lscp_status_t lscp_socket_agent_join (lscp_socket_agent_t *pAgent);
lscp_status_t lscp_socket_agent_free (lscp_socket_agent_t *pAgent); lscp_status_t lscp_socket_agent_free (lscp_socket_agent_t *pAgent);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif // __LSCP_SOCKET_H #endif // __LSCP_SOCKET_H
// end of lscp_socket.h // end of lscp_socket.h
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 lscp_thread.h   lscp_thread.h 
skipping to change at line 70 skipping to change at line 70
DWORD dwThreadID; DWORD dwThreadID;
#else #else
pthread_t pthread; pthread_t pthread;
#endif #endif
lscp_thread_proc_t pfnProc; lscp_thread_proc_t pfnProc;
void *pvData; void *pvData;
int iDetach; int iDetach;
} lscp_thread_t; } lscp_thread_t;
lscp_thread_t *lscp_thread_create(lscp_thread_proc_t pfnProc, void *pvData, lscp_thread_t *lscp_thread_create (lscp_thread_proc_t pfnProc, void *pvDat
int iDetach); a, int iDetach);
lscp_status_t lscp_thread_join(lscp_thread_t *pThread); lscp_status_t lscp_thread_join (lscp_thread_t *pThread);
lscp_status_t lscp_thread_cancel(lscp_thread_t *pThread); lscp_status_t lscp_thread_cancel (lscp_thread_t *pThread);
lscp_status_t lscp_thread_destroy(lscp_thread_t *pThread); lscp_status_t lscp_thread_destroy (lscp_thread_t *pThread);
#if defined(WIN32) #if defined(WIN32)
#define lscp_thread_exit() pthread_exit(NULL) #define lscp_thread_exit() pthread_exit(NULL)
#else #else
#define lscp_thread_exit() ExitThread(0) #define lscp_thread_exit() ExitThread(0)
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
 End of changes. 1 change blocks. 
5 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/