fixed indentation
[vpnc.git] / vpnc.h
blobad6d47102eb8b47a7d2ab8c08c5cf56b44b23383
1 /* IPSec VPN client compatible with Cisco equipment.
2 Copyright (C) 2002, 2003 Geoffrey Keating and Maurice Massar
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __VPNC_H__
20 #define __VPNC_H__
22 extern int opt_debug;
23 extern int opt_nd;
24 extern int tun_fd;
25 extern char tun_name[];
26 extern void hex_dump(const char *str, const void *data, size_t len);
28 #define DEBUG(lvl, a) do {if (opt_debug >= (lvl)) {a;}} while (0)
30 #endif