projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move make_names() and related variables to its own source file.
[tinc]
/
src
/
conf.c
diff --git
a/src/conf.c
b/src/conf.c
index
b9bfbf6
..
46fd81d
100644
(file)
--- a/
src/conf.c
+++ b/
src/conf.c
@@
-28,6
+28,7
@@
#include "conf.h"
#include "list.h"
#include "logger.h"
#include "conf.h"
#include "list.h"
#include "logger.h"
+#include "names.h"
#include "netutl.h" /* for str2address */
#include "protocol.h"
#include "utils.h" /* for cp */
#include "netutl.h" /* for str2address */
#include "protocol.h"
#include "utils.h" /* for cp */
@@
-37,11
+38,8
@@
splay_tree_t *config_tree;
int pinginterval = 0; /* seconds between pings */
int pingtimeout = 0; /* seconds to wait for response */
int pinginterval = 0; /* seconds between pings */
int pingtimeout = 0; /* seconds to wait for response */
-char *confbase = NULL; /* directory in which all config files are */
-char *netname = NULL; /* name of the vpn network */
list_t *cmdline_conf = NULL; /* global/host configuration values given at the command line */
list_t *cmdline_conf = NULL; /* global/host configuration values given at the command line */
-
static int config_compare(const config_t *a, const config_t *b) {
int result;
static int config_compare(const config_t *a, const config_t *b) {
int result;