1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
/*
---------------------------------------------------------------------------
xml_tun.h,v 1.2 2004/02/11 04:52:42 blanchet Exp
---------------------------------------------------------------------------
* This source code copyright (c) Hexago Inc. 2002-2004.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2,
* June 1991 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file GPL_LICENSE.txt. If not, write
* to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
---------------------------------------------------------------------------
*/
#ifndef XML_TUN_H
#define XML_TUN_H
#ifdef XMLTUN
# define ACCESS
#else
# define ACCESS extern
#endif
typedef struct stLinkedList {
char *Value;
struct stLinkedList *next;
} tLinkedList;
typedef struct stTunnel {
char
*action,
*type,
*lifetime,
*proxy,
*mtu,
*client_address_ipv4,
*client_address_ipv6,
*client_dns_name,
*server_address_ipv4,
*server_address_ipv6,
*router_protocol,
*prefix_length,
*prefix,
*client_as,
*server_as,
*keepalive_interval,
*keepalive_address_ipv6;
tLinkedList
*dns_server_address_ipv4,
*dns_server_address_ipv6,
*broker_address_ipv4;
} tTunnel;
ACCESS int tspXMLParse(char *Data, tTunnel *Tunnel);
#undef ACCESS
#endif
/*----- xmlparse.h --------------------------------------------------------------------*/
|