add a callback to allow plugins to fetch values from the running config
This commit is contained in:
parent
9872467805
commit
9cb9a8b436
10 changed files with 60 additions and 25 deletions
5
l2tpns.h
5
l2tpns.h
|
|
@ -1,5 +1,5 @@
|
|||
// L2TPNS Global Stuff
|
||||
// $Id: l2tpns.h,v 1.30 2004-11-05 04:55:27 bodea Exp $
|
||||
// $Id: l2tpns.h,v 1.31 2004-11-09 08:05:02 bodea Exp $
|
||||
|
||||
#ifndef __L2TPNS_H__
|
||||
#define __L2TPNS_H__
|
||||
|
|
@ -466,12 +466,13 @@ struct configt
|
|||
#endif
|
||||
};
|
||||
|
||||
enum config_typet { INT, STRING, UNSIGNED_LONG, SHORT, BOOL, IP, MAC };
|
||||
struct config_descriptt
|
||||
{
|
||||
char *key;
|
||||
int offset;
|
||||
int size;
|
||||
enum { INT, STRING, UNSIGNED_LONG, SHORT, BOOL, IP, MAC } type;
|
||||
enum config_typet type;
|
||||
};
|
||||
|
||||
// arp.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue