X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnames.h;h=f10968661e3bc5574c705461d1653c7efd668747;hb=a6448291834ca7419553a807ee367c719c2956d0;hp=a2395af7c585bc24e1c4a93a0ad3087d20cd53fc;hpb=7f96ef081dc0dc41e3955e35c1a36a62fd47f72b;p=tinc diff --git a/src/names.h b/src/names.h index a2395af7..f1096866 100644 --- a/src/names.h +++ b/src/names.h @@ -1,7 +1,10 @@ +#ifndef TINC_NAMES_H +#define TINC_NAMES_H + /* names.h -- header for names.c Copyright (C) 1998-2005 Ivo Timmermans - 2000-2015 Guus Sliepen + 2000-2017 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 @@ -18,13 +21,11 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_NAMES_H__ -#define __TINC_NAMES_H__ - extern char *confdir; extern char *confbase; extern bool confbase_given; extern char *netname; +extern char *myname; extern char *identname; extern char *unixsocketname; extern char *logfilename; @@ -34,4 +35,4 @@ extern char *program_name; extern void make_names(bool daemon); extern void free_names(void); -#endif /* __TINC_NAMES_H__ */ +#endif