version 1.4.2.1, 2011/09/07 08:56:32
|
version 1.4.2.3, 2011/10/31 14:45:26
|
Line 159 struct tagBLOBHdr {
|
Line 159 struct tagBLOBHdr {
|
/* Network RPC client & server elements */ |
/* Network RPC client & server elements */ |
|
|
typedef struct { |
typedef struct { |
struct sockaddr cli_sa; // host info | io_sockaddr_t cli_sa; // host info |
int cli_sock; // socket fd |
int cli_sock; // socket fd |
pthread_t cli_tid; // TID of thread |
pthread_t cli_tid; // TID of thread |
|
|
Line 258 rpc_srv_t *rpc_srv_initServer(u_int regProgID, u_int r
|
Line 258 rpc_srv_t *rpc_srv_initServer(u_int regProgID, u_int r
|
int netBuf, u_short family, const char *csHost, u_short Port); |
int netBuf, u_short family, const char *csHost, u_short Port); |
/* |
/* |
* rpc_srv_endServer() Destroy RPC server, close all opened sockets and free resources |
* rpc_srv_endServer() Destroy RPC server, close all opened sockets and free resources |
* @srv = RPC Server instance | * @psrv = RPC Server instance |
* return: none |
* return: none |
*/ |
*/ |
void rpc_srv_endServer(rpc_srv_t * __restrict srv); | void rpc_srv_endServer(rpc_srv_t ** __restrict psrv); |
/* |
/* |
* rpc_srv_loopServer() Execute Main server loop and wait for clients requests |
* rpc_srv_loopServer() Execute Main server loop and wait for clients requests |
* @srv = RPC Server instance |
* @srv = RPC Server instance |