Diff for /ansh/inc/defs.h between versions 1.1.1.1.2.4 and 1.4

version 1.1.1.1.2.4, 2011/10/14 07:47:20 version 1.4, 2012/07/22 22:41:33
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 47  SUCH DAMAGE. Line 47  SUCH DAMAGE.
 #define __DEFS_H  #define __DEFS_H
   
   
   #ifndef STRSIZ
 #define STRSIZ          256  #define STRSIZ          256
#define ANSH_L2_BUFLEN  1024#endif
 
 #define PIDFILE_ANSHD   "/var/run/anshd.pid"  #define PIDFILE_ANSHD   "/var/run/anshd.pid"
 #define PIDFILE_ANSH3D  "/var/run/ansh3d.pid"  #define PIDFILE_ANSH3D  "/var/run/ansh3d.pid"
   
   #define DEFAULT_KEY     "_ansh_ELWIX_"
   
 #define VERB(x)         if ((x) <= Verbose)  #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 FTRACE(x)       if ((x) <= Verbose) syslog(LOG_DEBUG, "Debug:: I`m in %s(%d) ...\n", __func__, __LINE__)
 #define LOG(fmt, ...)   do { assert((fmt)); \  #define LOG(fmt, ...)   do { assert((fmt)); \
Line 76  struct tagProc { Line 80  struct tagProc {
         pid_t                   proc_pid;          pid_t                   proc_pid;
   
         int                     proc_sock;          int                     proc_sock;
        struct sockaddr               proc_cli;        io_sockaddr_t                proc_cli;
        struct io_ether_addr  proc_ea;        io_ether_addr_t              proc_ea;
   
         u_short                 proc_blen;          u_short                 proc_blen;
         u_char                  *proc_buf_[2];          u_char                  *proc_buf_[2];
Line 93  typedef SLIST_HEAD(, tagProc) proc_head_t; Line 97  typedef SLIST_HEAD(, tagProc) proc_head_t;
 extern intptr_t Kill;  extern intptr_t Kill;
 extern int Timeout, Verbose;  extern int Timeout, Verbose;
 extern u_int Crypted;  extern u_int Crypted;
   extern char Key[STRSIZ];
   
   
 #endif  #endif

Removed from v.1.1.1.1.2.4  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>