--- libaitrpc/inc/aitrpc.h 2012/03/28 11:07:36 1.6.2.1 +++ libaitrpc/inc/aitrpc.h 2012/05/14 08:39:05 1.8 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.6.2.1 2012/03/28 11:07:36 misho Exp $ +* $Id: aitrpc.h,v 1.8 2012/05/14 08:39:05 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -140,6 +140,8 @@ typedef struct tagRPCFunc { struct tagRPCCall { rpc_sess_t call_session; + uint16_t call_len; + uint16_t call_tag; uint32_t call_hash; uint16_t call_argc; @@ -176,6 +178,8 @@ typedef struct { int cli_sock; // socket fd 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 int cli_netbuf; // size of network buffer size } rpc_cli_t; @@ -201,7 +205,6 @@ typedef struct { rpc_func_t *srv_funcs; // registered functions list - pthread_mutex_t srv_mtx; cmd_type_t srv_kill; struct { @@ -212,8 +215,6 @@ typedef struct { rpc_cli_t *clients; // connected blob client sockets rpc_blob_t *blobs; // registered blob variables list - - pthread_mutex_t mtx; } srv_blob; } rpc_srv_t;