added a "purgeike" command to stroke, deleting all IKE_SAs without a CHILD_SA
[strongswan.git] / src / stroke / stroke_keywords.h
index 2b4b40e..6332000 100644 (file)
@@ -11,8 +11,6 @@
  * 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.
- *
- * RCSID $Id: keywords.h,v 1.8 2006/04/17 10:30:27 as Exp $
  */
 
 #ifndef _STROKE_KEYWORDS_H_
@@ -26,9 +24,11 @@ typedef enum {
        STROKE_UNROUTE,
        STROKE_UP,
        STROKE_DOWN,
+       STROKE_DOWN_SRCIP,
        STROKE_LOGLEVEL,
        STROKE_STATUS,
        STROKE_STATUSALL,
+       STROKE_LIST_PUBKEYS,
        STROKE_LIST_CERTS,
        STROKE_LIST_CACERTS,
        STROKE_LIST_OCSPCERTS,
@@ -38,18 +38,22 @@ typedef enum {
        STROKE_LIST_CAINFOS,
        STROKE_LIST_CRLS,
        STROKE_LIST_OCSP,
+       STROKE_LIST_ALGS,
        STROKE_LIST_ALL,
+       STROKE_REREAD_SECRETS,
        STROKE_REREAD_CACERTS,
        STROKE_REREAD_OCSPCERTS,
        STROKE_REREAD_AACERTS,
        STROKE_REREAD_ACERTS,
        STROKE_REREAD_CRLS,
        STROKE_REREAD_ALL,
-       STROKE_PURGE_OCSP
+       STROKE_PURGE_OCSP,
+       STROKE_PURGE_IKE,
+       STROKE_LEASES
 } stroke_keyword_t;
 
-#define STROKE_LIST_FIRST              STROKE_LIST_CERTS
-#define STROKE_REREAD_FIRST            STROKE_REREAD_CACERTS
+#define STROKE_LIST_FIRST              STROKE_LIST_PUBKEYS
+#define STROKE_REREAD_FIRST            STROKE_REREAD_SECRETS
 #define STROKE_PURGE_FIRST             STROKE_PURGE_OCSP
 
 typedef struct stroke_token stroke_token_t;