--- libaitrpc/inc/defs.h 2010/06/18 01:48:06 1.1.1.1 +++ libaitrpc/inc/defs.h 2010/06/18 15:47:33 1.1.1.1.2.2 @@ -3,14 +3,14 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.1.1.1 2010/06/18 01:48:06 misho Exp $ +* $Id: defs.h,v 1.1.1.1.2.2 2010/06/18 15:47:33 misho Exp $ * *************************************************************************/ #ifndef __DEFS_H #define __DEFS_H -#define DEF_CLI_TIMEOUT 10 +#define DEF_RPC_TIMEOUT 3 #define LOGERR { \ @@ -18,6 +18,9 @@ strlcpy(rpc_Error, strerror(errno), STRSIZ); \ } + +extern pthread_mutex_t rpc_mtx; +extern int rpc_Kill; extern int rpc_Errno; extern char rpc_Error[];