--- ansh/inc/defs.h 2011/10/14 07:47:20 1.1.1.1.2.4 +++ ansh/inc/defs.h 2011/10/14 09:04:04 1.1.1.1.2.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: defs.h,v 1.1.1.1.2.4 2011/10/14 07:47:20 misho Exp $ + * $Id: defs.h,v 1.1.1.1.2.5 2011/10/14 09:04:04 misho Exp $ * ************************************************************************* The ELWIX and AITNET software is distributed under the following @@ -52,6 +52,8 @@ SUCH DAMAGE. #define PIDFILE_ANSHD "/var/run/anshd.pid" #define PIDFILE_ANSH3D "/var/run/ansh3d.pid" +#define DEFAULT_KEY "_ansh_ELWIX_" + #define VERB(x) if ((x) <= Verbose) #define FTRACE(x) if ((x) <= Verbose) syslog(LOG_DEBUG, "Debug:: I`m in %s(%d) ...\n", __func__, __LINE__) #define LOG(fmt, ...) do { assert((fmt)); \ @@ -93,6 +95,7 @@ typedef SLIST_HEAD(, tagProc) proc_head_t; extern intptr_t Kill; extern int Timeout, Verbose; extern u_int Crypted; +extern char Key[STRSIZ]; #endif