--- libaitrpc/inc/defs.h 2010/06/18 15:47:33 1.1.1.1.2.2 +++ libaitrpc/inc/defs.h 2010/06/23 15:07:15 1.1.1.1.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: defs.h,v 1.1.1.1.2.2 2010/06/18 15:47:33 misho Exp $ +* $Id: defs.h,v 1.1.1.1.2.3 2010/06/23 15:07:15 misho Exp $ * *************************************************************************/ #ifndef __DEFS_H @@ -12,14 +12,17 @@ #define DEF_RPC_TIMEOUT 3 +#define BLOBSIZ 1460 +#define BLOB_FILE "%s/%s:%d-%04x_%08x-%08x_%02x.blob" + + #define LOGERR { \ rpc_Errno = errno; \ strlcpy(rpc_Error, strerror(errno), STRSIZ); \ } -extern pthread_mutex_t rpc_mtx; extern int rpc_Kill; extern int rpc_Errno;