version 1.6, 2012/05/19 00:29:50
|
version 1.7, 2012/11/13 09:22:10
|
Line 51 SUCH DAMAGE.
|
Line 51 SUCH DAMAGE.
|
int rpc_Errno; |
int rpc_Errno; |
char rpc_Error[STRSIZ]; |
char rpc_Error[STRSIZ]; |
|
|
|
inline int |
|
rpc_funcs_cmp(struct tagRPCFunc *a, struct tagRPCFunc *b) |
|
{ |
|
int ret; |
|
|
|
assert(a && b); |
|
|
|
ret = AIT_KEY(&a->func_name) - AIT_KEY(&b->func_name); |
|
|
|
if (ret < 0) |
|
return -1; |
|
else if (ret > 0) |
|
return 1; |
|
|
|
return ret; |
|
} |
|
|
|
AVL_GENERATE(tagRPCFuncs, tagRPCFunc, func_node, rpc_funcs_cmp); |
|
|
#pragma GCC visibility pop |
#pragma GCC visibility pop |
|
|
// rpc_GetErrno() Get error code of last operation |
// rpc_GetErrno() Get error code of last operation |