version 1.28.8.1, 2024/02/26 18:25:31
|
version 1.29.4.1, 2024/12/09 13:41:57
|
Line 48 SUCH DAMAGE.
|
Line 48 SUCH DAMAGE.
|
|
|
|
|
#include <assert.h> |
#include <assert.h> |
//#include <stdlib.h> |
|
//#include <string.h> |
|
//#include <errno.h> |
|
//#include <sys/types.h> |
|
//#include <sys/param.h> |
|
//#if !defined(__NetBSD__) |
|
//#include <sys/limits.h> |
|
//#endif |
|
//#include <sys/socket.h> |
|
#include <pthread.h> |
#include <pthread.h> |
#include <sys/queue.h> |
#include <sys/queue.h> |
#include <aitrpc_pkt.h> |
#include <aitrpc_pkt.h> |
Line 154 typedef int (*rpc_callback_t)(rpc_cli_t *, struct tagR
|
Line 145 typedef int (*rpc_callback_t)(rpc_cli_t *, struct tagR
|
#define RPC_CALL_STDARGS RPC_CALL_ARGS(cli, rpc, iv) |
#define RPC_CALL_STDARGS RPC_CALL_ARGS(cli, rpc, iv) |
|
|
|
|
|
/* |
|
* rpc_srv_DispatchSignal() - Enable/Disable Signal dispatcher for RPC scheduler |
|
* |
|
* @x = RPC server instance |
|
* @y = Enable or =0 Disable |
|
* return: 0 enabled signal dispatcher. See schedSignalDispatch() in libaitsched |
|
*/ |
|
#define rpc_srv_DispatchSignal(x, y) schedSignalDispatch((x)->srv_root, (y)) |
|
|
/* ----------------------------------------------------------------------- */ |
/* ----------------------------------------------------------------------- */ |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
/* |
/* |
* rpc_register_srvPing() - Register ping service function |
* rpc_register_srvPing() - Register ping service function |
* |
* |
Line 398 int rpc_srv_recvBLOB(rpc_cli_t * __restrict cli, rpc_b
|
Line 402 int rpc_srv_recvBLOB(rpc_cli_t * __restrict cli, rpc_b
|
*/ |
*/ |
int rpc_srv_Return(rpc_cli_t *c); |
int rpc_srv_Return(rpc_cli_t *c); |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
#endif |
#endif |