version 1.28, 2015/07/02 22:28:14
|
version 1.28.8.2, 2024/03/20 17:06:10
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004 - 2015 | Copyright 2004 - 2024 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
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)) |
|
|
/* ----------------------------------------------------------------------- */ |
/* ----------------------------------------------------------------------- */ |
|
|
/* |
/* |
Line 388 int rpc_srv_sendBLOB(rpc_cli_t * __restrict cli, rpc_b
|
Line 388 int rpc_srv_sendBLOB(rpc_cli_t * __restrict cli, rpc_b
|
* return: -1 error, 0 ok, >0 unreceived data from client, may be error? |
* return: -1 error, 0 ok, >0 unreceived data from client, may be error? |
*/ |
*/ |
int rpc_srv_recvBLOB(rpc_cli_t * __restrict cli, rpc_blob_t * __restrict blob); |
int rpc_srv_recvBLOB(rpc_cli_t * __restrict cli, rpc_blob_t * __restrict blob); |
|
|
|
|
|
/* |
|
* rpc_srv_Return() - Prepare IPC return answer to RPC client |
|
* |
|
* @c = RPC client |
|
* return: number of arguments in response |
|
*/ |
|
int rpc_srv_Return(rpc_cli_t *c); |
|
|
|
|
#endif |
#endif |