version 1.1, 2010/06/18 01:48:06
|
version 1.1.1.1.2.1, 2010/06/18 13:36:01
|
Line 27
|
Line 27
|
|
|
/* RPC builtin registed calls */ |
/* RPC builtin registed calls */ |
|
|
|
#define CALL_SRVSHUTDOWN "rpcServerShutdown" |
#define CALL_SRVCLIENTS "rpcServerClients" |
#define CALL_SRVCLIENTS "rpcServerClients" |
#define CALL_SRVCALLS "rpcServerCalls" |
#define CALL_SRVCALLS "rpcServerCalls" |
#define CALL_SRVSESSIONS "rpcServerSessions" |
#define CALL_SRVSESSIONS "rpcServerSessions" |
Line 152 typedef struct {
|
Line 153 typedef struct {
|
rpc_SetErr(22, "Error:: different number of arguments!\n"); \ |
rpc_SetErr(22, "Error:: different number of arguments!\n"); \ |
return -1; \ |
return -1; \ |
} \ |
} \ |
} while(0) | } while (0) |
| #define RPC_CALLBACK_CHECK_INPUT(s, f) do { \ |
| if (!s || !f) { \ |
| rpc_SetErr(22, "Error:: invalid callback parameters ...\n"); \ |
| return -1; \ |
| } \ |
| } while (0) |
|
|
|
|
/* RPC session identification */ |
/* RPC session identification */ |