gperf creates optimum hash table for stroke keywords
[strongswan.git] / src / libstrongswan / types.h
index cb4d4ec..74f0cbf 100644 (file)
@@ -111,6 +111,18 @@ enum status_t {
 
 
 /**
+  * Certificate sending policy
+  */
+typedef enum certpolicy {
+  CERT_ALWAYS_SEND   = 0,
+  CERT_SEND_IF_ASKED = 1,
+  CERT_NEVER_SEND    = 2,
+
+  CERT_YES_SEND      = 3,      /* synonym for CERT_ALWAYS_SEND */
+  CERT_NO_SEND       = 4       /* synonym for CERT_NEVER_SEND  */
+} certpolicy_t;
+
+/**
  * String mappings for type status_t.
  */
 extern mapping_t status_m[];