projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New directive: Name.
[tinc]
/
src
/
conf.h
diff --git
a/src/conf.h
b/src/conf.h
index
1d75859
..
a63821c
100644
(file)
--- a/
src/conf.h
+++ b/
src/conf.h
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: conf.h,v 1.6.4.
5 2000/06/30 11:45:14 guus
Exp $
+ $Id: conf.h,v 1.6.4.
9 2000/09/14 14:34:38 zarq
Exp $
*/
#ifndef __TINC_CONF_H__
*/
#ifndef __TINC_CONF_H__
@@
-49,6
+49,10
@@
typedef enum which_t {
vpnmask,
resolve_dns,
indirectdata,
vpnmask,
resolve_dns,
indirectdata,
+ tcponly,
+ interface,
+ interfaceip,
+ tincname,
} which_t;
typedef struct config_t {
} which_t;
typedef struct config_t {
@@
-81,5
+85,6
@@
extern config_t *add_config_val(config_t **, int, char *);
extern int read_config_file(const char *);
extern const config_t *get_config_val(which_t type);
extern const config_t *get_next_config_val(which_t type, int);
extern int read_config_file(const char *);
extern const config_t *get_config_val(which_t type);
extern const config_t *get_next_config_val(which_t type, int);
+extern void clear_config();
#endif /* __TINC_CONF_H__ */
#endif /* __TINC_CONF_H__ */