|
|
| version 1.1.1.1, 2010/06/18 01:48:06 | version 1.1.1.1.2.6, 2010/06/24 15:01:19 |
|---|---|
| Line 10 | Line 10 |
| #define __DEFS_H | #define __DEFS_H |
| #define DEF_CLI_TIMEOUT 10 | #define DEF_RPC_TIMEOUT 3 |
| #define BLOB_MAX 1460 | |
| #define BLOBSIZ 1024 | |
| #define STRSIZ 256 | |
| #define BLOB_FILE "%s/BLOB-%08x" | |
| #define LOGERR { \ | #define LOGERR { \ |
| rpc_Errno = errno; \ | rpc_Errno = errno; \ |
| strlcpy(rpc_Error, strerror(errno), STRSIZ); \ | strlcpy(rpc_Error, strerror(errno), STRSIZ); \ |
| } | } |
| extern int rpc_Kill, blob_Kill; | |
| extern int rpc_Errno; | extern int rpc_Errno; |
| extern char rpc_Error[]; | extern char rpc_Error[]; |