Annotation of embedaddon/strongswan/src/stroke/stroke_keywords.h, revision 1.1

1.1     ! misho       1: /*
        !             2:  * Copyright (C) 2006 Andreas Steffen
        !             3:  * HSR Hochschule fuer Technik Rapperswil
        !             4:  *
        !             5:  * This program is free software; you can redistribute it and/or modify it
        !             6:  * under the terms of the GNU General Public License as published by the
        !             7:  * Free Software Foundation; either version 2 of the License, or (at your
        !             8:  * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
        !             9:  *
        !            10:  * This program is distributed in the hope that it will be useful, but
        !            11:  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
        !            12:  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
        !            13:  * for more details.
        !            14:  */
        !            15: 
        !            16: #ifndef _STROKE_KEYWORDS_H_
        !            17: #define _STROKE_KEYWORDS_H_
        !            18: 
        !            19: typedef enum {
        !            20:        STROKE_ADD,
        !            21:        STROKE_DEL,
        !            22:        STROKE_DELETE,
        !            23:        STROKE_ROUTE,
        !            24:        STROKE_UNROUTE,
        !            25:        STROKE_UP,
        !            26:        STROKE_UP_NOBLK,
        !            27:        STROKE_DOWN,
        !            28:        STROKE_DOWN_NOBLK,
        !            29:        STROKE_DOWN_SRCIP,
        !            30:        STROKE_REKEY,
        !            31:        STROKE_LOGLEVEL,
        !            32:        STROKE_STATUS,
        !            33:        STROKE_STATUSALL,
        !            34:        STROKE_STATUSALL_NOBLK,
        !            35:        STROKE_LIST_PUBKEYS,
        !            36:        STROKE_LIST_CERTS,
        !            37:        STROKE_LIST_CACERTS,
        !            38:        STROKE_LIST_OCSPCERTS,
        !            39:        STROKE_LIST_AACERTS,
        !            40:        STROKE_LIST_ACERTS,
        !            41:        STROKE_LIST_GROUPS,
        !            42:        STROKE_LIST_CAINFOS,
        !            43:        STROKE_LIST_CRLS,
        !            44:        STROKE_LIST_OCSP,
        !            45:        STROKE_LIST_ALGS,
        !            46:        STROKE_LIST_PLUGINS,
        !            47:        STROKE_LIST_ALL,
        !            48:        STROKE_REREAD_SECRETS,
        !            49:        STROKE_REREAD_CACERTS,
        !            50:        STROKE_REREAD_OCSPCERTS,
        !            51:        STROKE_REREAD_AACERTS,
        !            52:        STROKE_REREAD_ACERTS,
        !            53:        STROKE_REREAD_CRLS,
        !            54:        STROKE_REREAD_ALL,
        !            55:        STROKE_PURGE_OCSP,
        !            56:        STROKE_PURGE_CRLS,
        !            57:        STROKE_PURGE_CERTS,
        !            58:        STROKE_PURGE_IKE,
        !            59:        STROKE_EXPORT_X509,
        !            60:        STROKE_EXPORT_CONN_CERT,
        !            61:        STROKE_EXPORT_CONN_CHAIN,
        !            62:        STROKE_LEASES,
        !            63:        STROKE_MEMUSAGE,
        !            64:        STROKE_USER_CREDS,
        !            65:        STROKE_COUNTERS,
        !            66:        STROKE_COUNTERS_RESET,
        !            67: } stroke_keyword_t;
        !            68: 
        !            69: #define STROKE_LIST_FIRST              STROKE_LIST_PUBKEYS
        !            70: #define STROKE_REREAD_FIRST            STROKE_REREAD_SECRETS
        !            71: #define STROKE_PURGE_FIRST             STROKE_PURGE_OCSP
        !            72: #define STROKE_EXPORT_FIRST            STROKE_EXPORT_X509
        !            73: 
        !            74: typedef struct stroke_token stroke_token_t;
        !            75: 
        !            76: extern const stroke_token_t* in_word_set(register const char *str,
        !            77:                                                                                 register size_t len);
        !            78: 
        !            79: #endif /* _STROKE_KEYWORDS_H_ */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>