--- libaitrpc/inc/aitrpc.h 2012/05/16 13:17:51 1.8.2.11 +++ libaitrpc/inc/aitrpc.h 2012/05/16 13:52:58 1.8.2.14 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.8.2.11 2012/05/16 13:17:51 misho Exp $ +* $Id: aitrpc.h,v 1.8.2.14 2012/05/16 13:52:58 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -72,31 +72,21 @@ SUCH DAMAGE. /* RPC builtin registed calls */ -#define CALL_MAX_ID 65535 +#define CALL_TAG_MAX 65535 -#define CALL_BLOBSHUTDOWN "rpcBLOBServerShutdown" -#define CALL_BLOBSHUTDOWN_ID 65530 -#define CALL_BLOBCLIENTS "rpcBLOBServerClients" -#define CALL_BLOBCLIENTS_ID 65529 -#define CALL_BLOBVARS "rpcBLOBServerVars" -#define CALL_BLOBVARS_ID 65528 -#define CALL_BLOBSTATE "rpcBLOBServerState" -#define CALL_BLOBSTATE_ID 65527 +#define CALL_BLOBSHUTDOWN 65530 +#define CALL_BLOBCLIENTS 65529 +#define CALL_BLOBVARS 65528 -#define CALL_SRVSHUTDOWN "rpcServerShutdown" -#define CALL_SRVSHUTDOWN_ID 65534 -#define CALL_SRVCLIENTS "rpcServerClients" -#define CALL_SRVCLIENTS_ID 65533 -#define CALL_SRVCALLS "rpcServerCalls" -#define CALL_SRVCALLS_ID 65532 -#define CALL_SRVSESSIONS "rpcServerSessions" -#define CALL_SRVSESSIONS_ID 65531 +#define CALL_SRVSHUTDOWN 65534 +#define CALL_SRVCLIENTS 65533 +#define CALL_SRVCALLS 65532 +#define CALL_SRVSESSIONS 65531 /* RPC types */ typedef enum { - disable, enable, running, kill, /* for blob.state */ ok, error, no, /* for blob reply */ get, set, unset /* for blob request */ } cmd_type_t; @@ -165,7 +155,7 @@ struct tagBLOBHdr { uint32_t hdr_ret; uint16_t hdr_crc; uint8_t hdr_pad; -} __packed; +} __packed; /* size == 22 bytes */ /* Network RPC client & server elements */