/************************************************************************* * (C) 2010 AITNET ltd - Sofia/Bulgaria - * by Michael Pounov * * $Author: misho $ * $Id: defs.h,v 1.1 2010/06/18 01:48:06 misho Exp $ * *************************************************************************/ #ifndef __DEFS_H #define __DEFS_H #define DEF_CLI_TIMEOUT 10 #define LOGERR { \ rpc_Errno = errno; \ strlcpy(rpc_Error, strerror(errno), STRSIZ); \ } extern int rpc_Errno; extern char rpc_Error[]; inline void rpc_SetErr(int eno, char *estr, ...); #endif