version 1.6.2.2, 2012/03/29 00:40:59
|
version 1.7.2.3, 2012/05/14 08:36:58
|
Line 178 typedef struct {
|
Line 178 typedef struct {
|
int cli_sock; // socket fd |
int cli_sock; // socket fd |
pthread_t cli_tid; // TID of thread |
pthread_t cli_tid; // TID of thread |
|
|
|
cmd_type_t cli_kill; |
|
|
void *cli_parent; // pointer to parent rpc_srv_t for server or to rpc_sess_t for client |
void *cli_parent; // pointer to parent rpc_srv_t for server or to rpc_sess_t for client |
int cli_netbuf; // size of network buffer size |
int cli_netbuf; // size of network buffer size |
} rpc_cli_t; |
} rpc_cli_t; |
Line 203 typedef struct {
|
Line 205 typedef struct {
|
|
|
rpc_func_t *srv_funcs; // registered functions list |
rpc_func_t *srv_funcs; // registered functions list |
|
|
pthread_mutex_t srv_mtx; |
|
cmd_type_t srv_kill; |
cmd_type_t srv_kill; |
|
|
struct { |
struct { |
Line 214 typedef struct {
|
Line 215 typedef struct {
|
rpc_cli_t *clients; // connected blob client sockets |
rpc_cli_t *clients; // connected blob client sockets |
|
|
rpc_blob_t *blobs; // registered blob variables list |
rpc_blob_t *blobs; // registered blob variables list |
|
|
pthread_mutex_t mtx; |
|
} srv_blob; |
} srv_blob; |
} rpc_srv_t; |
} rpc_srv_t; |
|
|