shared_malloc returns NULL on failure
[l2tpns.git] / l2tpns.h
index 39e862f..4fd351b 100644 (file)
--- a/l2tpns.h
+++ b/l2tpns.h
@@ -1,5 +1,5 @@
 // L2TPNS Global Stuff
-// $Id: l2tpns.h,v 1.18 2004-09-19 23:26:46 fred_nerk Exp $
+// $Id: l2tpns.h,v 1.21 2004-10-25 15:07:52 bodea Exp $
 
 #ifndef __L2TPNS_H__
 #define __L2TPNS_H__
@@ -15,7 +15,7 @@
 #include <sys/types.h>
 #include <libcli.h>
 
-#define VERSION        "2.0.1"
+#define VERSION        "2.0.2"
 
 // Limits
 #define MAXTUNNEL      500             // could be up to 65535
@@ -456,7 +456,7 @@ struct config_descriptt
        char *key;
        int offset;
        int size;
-       enum { INT, STRING, UNSIGNED_LONG, SHORT, BOOL, IP } type;
+       enum { INT, STRING, UNSIGNED_LONG, SHORT, BOOL, IP, MAC } type;
 };
 
 // arp.c
@@ -503,7 +503,7 @@ clockt backoff(u8 try);
 void routeset(sessionidt, ipt ip, ipt mask, ipt gw, u8 add);
 void inittun(void);
 void initudp(void);
-void initdata(void);
+void initdata(int optdebug, const char *optconfig);
 void initippool();
 sessionidt sessionbyip(ipt ip);
 sessionidt sessionbyuser(char *username);