--- libaitrpc/inc/defs.h 2010/06/18 15:47:33 1.1.1.1.2.2 +++ libaitrpc/inc/defs.h 2010/06/24 15:01:19 1.1.1.1.2.6 @@ -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.6 2010/06/24 15:01:19 misho Exp $ * *************************************************************************/ #ifndef __DEFS_H @@ -12,15 +12,21 @@ #define DEF_RPC_TIMEOUT 3 +#define BLOB_MAX 1460 +#define BLOBSIZ 1024 +#define STRSIZ 256 + +#define BLOB_FILE "%s/BLOB-%08x" + + #define LOGERR { \ rpc_Errno = errno; \ strlcpy(rpc_Error, strerror(errno), STRSIZ); \ } -extern pthread_mutex_t rpc_mtx; -extern int rpc_Kill; +extern int rpc_Kill, blob_Kill; extern int rpc_Errno; extern char rpc_Error[];