version 1.10, 2013/05/30 09:22:01
|
version 1.14, 2013/11/14 21:44:14
|
Line 47 SUCH DAMAGE.
|
Line 47 SUCH DAMAGE.
|
#define __DEFS_H |
#define __DEFS_H |
|
|
|
|
|
#ifndef DEF_RPC_TIMEOUT |
#define DEF_RPC_TIMEOUT 10 |
#define DEF_RPC_TIMEOUT 10 |
|
#endif |
|
|
#define RPC_SCHED_POLLING 1 |
#define RPC_SCHED_POLLING 1 |
|
#define RPC_BLOB_TIMEOUT 60 /* 60 seconds */ |
#define RPC_ERROR(x) htonl((x)) |
#define RPC_ERROR(x) htonl((x)) |
|
|
#ifndef STRSIZ |
#ifndef STRSIZ |
Line 61 SUCH DAMAGE.
|
Line 65 SUCH DAMAGE.
|
#define CB_RXPACKET 2 |
#define CB_RXPACKET 2 |
#define CB_TXPACKET 3 |
#define CB_TXPACKET 3 |
|
|
|
|
#define BLOB_FILE "%s/BLOB-%0X" |
#define BLOB_FILE "%s/BLOB-%0X" |
|
|
|
|
Line 73 SUCH DAMAGE.
|
Line 76 SUCH DAMAGE.
|
|
|
extern int rpc_Errno; |
extern int rpc_Errno; |
extern char rpc_Error[STRSIZ]; |
extern char rpc_Error[STRSIZ]; |
|
|
void rpc_SetErr(int eno, char *estr, ...); |
|
|
|
void rpc_freeCli(rpc_cli_t * __restrict); |
void rpc_freeCli(rpc_cli_t * __restrict); |
void rpc_freeBLOBCli(rpc_cli_t * __restrict); |
void rpc_freeBLOBCli(rpc_cli_t * __restrict); |