X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconf.h;h=c1afc47ba610fc27fbe87b5601d0bd7757746a20;hp=e637bde87e3b809f69ccfdf12f5b3463bed621eb;hb=c217d214f4f071c235bc7c463a1da6124e2570a6;hpb=faaaa1ef38dcdf19d5d5d73ab66806b15467c043 diff --git a/src/conf.h b/src/conf.h index e637bde8..c1afc47b 100644 --- a/src/conf.h +++ b/src/conf.h @@ -1,7 +1,7 @@ /* conf.h -- header for conf.c - Copyright (C) 1998-2004 Ivo Timmermans - 2000-2004 Guus Sliepen + Copyright (C) 1998-2005 Ivo Timmermans + 2000-2009 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -16,8 +16,6 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ */ #ifndef __TINC_CONF_H__ @@ -36,6 +34,7 @@ typedef struct config_t { extern avl_tree_t *config_tree; +extern int pinginterval; extern int pingtimeout; extern int maxtimeout; extern bool bypass_security; @@ -57,7 +56,8 @@ extern bool get_config_subnet(const config_t *, struct subnet_t **); extern int read_config_file(avl_tree_t *, const char *); extern bool read_server_config(void); -extern FILE *ask_and_open(const char *, const char *, const char *); +extern FILE *ask_and_open(const char *, const char *); extern bool is_safe_path(const char *); +extern bool disable_old_keys(FILE *); #endif /* __TINC_CONF_H__ */