%{
/* strongSwan keywords
 * Copyright (C) 2005 Andreas Steffen
 * Hochschule fuer Technik Rapperswil, Switzerland
 *
 * 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 the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
 *
 * 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.
 */

#include <string.h>

#include "keywords.h"

%}
struct kw_entry {
    char *name;
    kw_token_t token;
};
%%
interfaces,        KW_INTERFACES
dumpdir,           KW_DUMPDIR
charonstart,       KW_CHARONSTART
plutostart,        KW_PLUTOSTART
klipsdebug,        KW_KLIPSDEBUG
plutodebug,        KW_PLUTODEBUG
charondebug,       KW_CHARONDEBUG
prepluto,          KW_PREPLUTO
postpluto,         KW_POSTPLUTO
plutostderrlog,    KW_PLUTOSTDERRLOG
fragicmp,          KW_FRAGICMP
packetdefault,     KW_PACKETDEFAULT
hidetos,           KW_HIDETOS
uniqueids,         KW_UNIQUEIDS
overridemtu,       KW_OVERRIDEMTU
crlcheckinterval,  KW_CRLCHECKINTERVAL
cachecrls,         KW_CACHECRLS
strictcrlpolicy,   KW_STRICTCRLPOLICY
nocrsend,          KW_NOCRSEND
nat_traversal,     KW_NAT_TRAVERSAL
keep_alive,        KW_KEEP_ALIVE
force_keepalive,   KW_FORCE_KEEPALIVE
virtual_private,   KW_VIRTUAL_PRIVATE
eap,               KW_EAP
eap_identity,      KW_EAP_IDENTITY
mobike,	           KW_MOBIKE
forceencaps,       KW_FORCEENCAPS
pkcs11module,      KW_PKCS11MODULE
pkcs11initargs,    KW_PKCS11INITARGS
pkcs11keepstate,   KW_PKCS11KEEPSTATE
pkcs11proxy,       KW_PKCS11PROXY
keyexchange,       KW_KEYEXCHANGE
type,              KW_TYPE
pfs,               KW_PFS
compress,          KW_COMPRESS
installpolicy,     KW_INSTALLPOLICY
auth,              KW_AUTH
authby,            KW_AUTHBY
keylife,           KW_KEYLIFE
rekeymargin,       KW_REKEYMARGIN
lifetime,          KW_KEYLIFE
margintime,        KW_REKEYMARGIN
lifebytes,         KW_LIFEBYTES
marginbytes,       KW_MARGINBYTES
lifepackets,       KW_LIFEPACKETS
marginpackets,     KW_MARGINPACKETS
ikelifetime,       KW_IKELIFETIME
keyingtries,       KW_KEYINGTRIES
rekeyfuzz,         KW_REKEYFUZZ
rekey,             KW_REKEY
reauth,            KW_REAUTH
esp,               KW_ESP
ike,               KW_IKE
pfsgroup,          KW_PFSGROUP
dpddelay,          KW_DPDDELAY
dpdtimeout,        KW_DPDTIMEOUT
dpdaction,         KW_DPDACTION
inactivity,        KW_INACTIVITY
modeconfig,        KW_MODECONFIG
xauth,             KW_XAUTH
mediation,         KW_MEDIATION
mediated_by,       KW_MEDIATED_BY
me_peerid,         KW_ME_PEERID
cacert,            KW_CACERT
ldaphost,          KW_LDAPHOST
ldapbase,          KW_LDAPBASE
crluri,            KW_CRLURI
crluri1,           KW_CRLURI
crluri2,           KW_CRLURI2
ocspuri,           KW_OCSPURI
ocspuri1,          KW_OCSPURI
ocspuri2,          KW_OCSPURI2
certuribase,       KW_CERTURIBASE
left,              KW_LEFT
leftikeport,       KW_LEFTIKEPORT
leftnexthop,       KW_LEFTNEXTHOP
leftsubnet,        KW_LEFTSUBNET
leftsubnetwithin,  KW_LEFTSUBNETWITHIN
leftprotoport,     KW_LEFTPROTOPORT
leftsourceip,      KW_LEFTSOURCEIP
leftnatip,         KW_LEFTNATIP
leftfirewall,      KW_LEFTFIREWALL
lefthostaccess,    KW_LEFTHOSTACCESS
leftallowany,      KW_LEFTALLOWANY
leftupdown,        KW_LEFTUPDOWN
leftid,            KW_LEFTID
leftid2,           KW_LEFTID2
leftauth,          KW_LEFTAUTH
leftauth2,         KW_LEFTAUTH2
leftrsasigkey,     KW_LEFTRSASIGKEY
leftcert,          KW_LEFTCERT,
leftcert2,         KW_LEFTCERT2,
leftsendcert,      KW_LEFTSENDCERT
leftca,            KW_LEFTCA
leftca2,           KW_LEFTCA2
leftgroups,        KW_LEFTGROUPS
right,             KW_RIGHT
rightikeport,      KW_RIGHTIKEPORT
rightnexthop,      KW_RIGHTNEXTHOP
rightsubnet,       KW_RIGHTSUBNET
rightsubnetwithin, KW_RIGHTSUBNETWITHIN
rightprotoport,    KW_RIGHTPROTOPORT
rightsourceip,     KW_RIGHTSOURCEIP
rightnatip,        KW_RIGHTNATIP
rightfirewall,     KW_RIGHTFIREWALL
righthostaccess,   KW_RIGHTHOSTACCESS
rightallowany,     KW_RIGHTALLOWANY
rightupdown,       KW_RIGHTUPDOWN
rightid,           KW_RIGHTID
rightid2,          KW_RIGHTID2
rightauth,         KW_RIGHTAUTH
rightauth2,        KW_RIGHTAUTH2
rightrsasigkey,    KW_RIGHTRSASIGKEY
rightcert,         KW_RIGHTCERT
rightcert2,        KW_RIGHTCERT2
rightsendcert,     KW_RIGHTSENDCERT
rightca,           KW_RIGHTCA
rightca2,          KW_RIGHTCA2
rightgroups,       KW_RIGHTGROUPS
also,              KW_ALSO
auto,              KW_AUTO
