--- libaitrpc/inc/defs.h 2012/05/17 16:42:43 1.4.6.3 +++ libaitrpc/inc/defs.h 2012/11/13 09:22:10 1.7 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.4.6.3 2012/05/17 16:42:43 misho Exp $ +* $Id: defs.h,v 1.7 2012/11/13 09:22:10 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -51,7 +51,9 @@ SUCH DAMAGE. #define RPC_SCHED_POLLING 1 #define RPC_ERROR(x) htonl((x)) +#ifndef STRSIZ #define STRSIZ 256 +#endif #define RPC_MIN_BUFSIZ 512 @@ -68,6 +70,9 @@ extern int rpc_Errno; extern char rpc_Error[]; inline void rpc_SetErr(int eno, char *estr, ...); + +inline int rpc_funcs_cmp(struct tagRPCFunc *, struct tagRPCFunc *); +AVL_PROTOTYPE(tagRPCFuncs, tagRPCFunc, func_node, rpc_funcs_cmp); #endif