--- libaitrpc/inc/aitrpc.h 2012/05/16 14:08:52 1.8.2.15 +++ libaitrpc/inc/aitrpc.h 2012/05/17 07:53:03 1.8.2.16 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.8.2.15 2012/05/16 14:08:52 misho Exp $ +* $Id: aitrpc.h,v 1.8.2.16 2012/05/17 07:53:03 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -74,16 +74,19 @@ SUCH DAMAGE. #define CALL_TAG_MAX 65535 -#define CALL_BLOBSHUTDOWN 65530 -#define CALL_BLOBCLIENTS 65529 -#define CALL_BLOBVARS 65528 +#define CALL_SRVPING 65535 +#define CALL_BLOBPING 65534 -#define CALL_SRVSHUTDOWN 65534 -#define CALL_SRVCLIENTS 65533 -#define CALL_SRVCALLS 65532 -#define CALL_SRVSESSIONS 65531 +#define CALL_SRVSHUTDOWN 65533 +#define CALL_SRVCLIENTS 65532 +#define CALL_SRVCALLS 65531 +#define CALL_SRVSESSIONS 65530 +#define CALL_BLOBSHUTDOWN 65529 +#define CALL_BLOBCLIENTS 65528 +#define CALL_BLOBVARS 65527 + /* RPC types */ typedef enum { @@ -168,6 +171,8 @@ typedef struct tagRPCFunc { void *func_parent; TAILQ_ENTRY(tagRPCFunc) func_node; } rpc_func_t; +#define RPC_FUNC_RETVARS(x) ((x)->func_vars) +#define RPC_FUNC_SERVER(x) ((rpc_srv_t*) (x)->func_parent) /* BLOB register element */