version 1.9, 2013/04/02 15:50:14
|
version 1.10, 2013/05/30 09:22:01
|
Line 73 AVL_GENERATE(tagRPCFuncs, tagRPCFunc, func_node, rpc_f
|
Line 73 AVL_GENERATE(tagRPCFuncs, tagRPCFunc, func_node, rpc_f
|
#pragma GCC visibility pop |
#pragma GCC visibility pop |
|
|
// rpc_GetErrno() Get error code of last operation |
// rpc_GetErrno() Get error code of last operation |
inline int | int |
rpc_GetErrno() |
rpc_GetErrno() |
{ |
{ |
return rpc_Errno; |
return rpc_Errno; |
} |
} |
|
|
// rpc_GetError() Get error text of last operation |
// rpc_GetError() Get error text of last operation |
inline const char * | const char * |
rpc_GetError() |
rpc_GetError() |
{ |
{ |
return rpc_Error; |
return rpc_Error; |
} |
} |
|
|
// rpc_SetErr() Set error to variables for internal use!!! |
// rpc_SetErr() Set error to variables for internal use!!! |
inline void | void |
rpc_SetErr(int eno, char *estr, ...) |
rpc_SetErr(int eno, char *estr, ...) |
{ |
{ |
va_list lst; |
va_list lst; |
Line 107 rpc_SetErr(int eno, char *estr, ...)
|
Line 107 rpc_SetErr(int eno, char *estr, ...)
|
* @s = active session |
* @s = active session |
* return: -1, 1, 2, 3 are errors or 0 ok |
* return: -1, 1, 2, 3 are errors or 0 ok |
*/ |
*/ |
inline int | int |
rpc_chkPktSession(rpc_sess_t *p, rpc_sess_t *s) |
rpc_chkPktSession(rpc_sess_t *p, rpc_sess_t *s) |
{ |
{ |
if (!p || !s) |
if (!p || !s) |
Line 128 rpc_chkPktSession(rpc_sess_t *p, rpc_sess_t *s)
|
Line 128 rpc_chkPktSession(rpc_sess_t *p, rpc_sess_t *s)
|
* @s = host session |
* @s = host session |
* return: -1 error or 0 ok |
* return: -1 error or 0 ok |
*/ |
*/ |
inline int | int |
rpc_addPktSession(rpc_sess_t *p, rpc_sess_t *s) |
rpc_addPktSession(rpc_sess_t *p, rpc_sess_t *s) |
{ |
{ |
if (!p || !s) |
if (!p || !s) |