/*
*  Generated by gen-c-constants
*  as part of the project build.
*
*  This file is part of openvpn3-linux, licensed
*  under AGPLv3.  Please see the main COPYRIGHT.md
*  file packaged with the project for more details.
*
*  Do not modify this file.  This file needs to be
*  regenerated each time any of the OpenVPN 3 Linux
*  constants are modified.
*/

#pragma once

const char *OpenVPN3Linux_Version = "v27.1";

/* StatusMajor */
enum { 
    STMAJ_UNSET = 0, 
    STMAJ_CONFIG = 1, 
    STMAJ_CONNECTION = 2, 
    STMAJ_SESSION = 3, 
    STMAJ_PKCS11 = 4, 
    STMAJ_PROCESS = 5, 
};


/* StatusMinor */
enum { 
    STMIN_UNSET = 0, 
    STMIN_CFG_ERROR = 1, 
    STMIN_CFG_OK = 2, 
    STMIN_CFG_INLINE_MISSING = 3, 
    STMIN_CFG_REQUIRE_USER = 4, 
    STMIN_CONN_INIT = 5, 
    STMIN_CONN_CONNECTING = 6, 
    STMIN_CONN_CONNECTED = 7, 
    STMIN_CONN_DISCONNECTING = 8, 
    STMIN_CONN_DISCONNECTED = 9, 
    STMIN_CONN_FAILED = 10, 
    STMIN_CONN_AUTH_FAILED = 11, 
    STMIN_CONN_RECONNECTING = 12, 
    STMIN_CONN_PAUSING = 13, 
    STMIN_CONN_PAUSED = 14, 
    STMIN_CONN_RESUMING = 15, 
    STMIN_CONN_DONE = 16, 
    STMIN_SESS_NEW = 17, 
    STMIN_SESS_BACKEND_COMPLETED = 18, 
    STMIN_SESS_REMOVED = 19, 
    STMIN_SESS_AUTH_USERPASS = 20, 
    STMIN_SESS_AUTH_CHALLENGE = 21, 
    STMIN_SESS_AUTH_URL = 22, 
    STMIN_PKCS11_SIGN = 23, 
    STMIN_PKCS11_ENCRYPT = 24, 
    STMIN_PKCS11_DECRYPT = 25, 
    STMIN_PKCS11_VERIFY = 26, 
    STMIN_PROC_STARTED = 27, 
    STMIN_PROC_STOPPED = 28, 
    STMIN_PROC_KILLED = 29, 
};


/* SessionManagerEventType */
enum { 
    SMET_SESS_CREATED = 1, 
    SMET_SESS_DESTROYED = 2, 
};


/* ClientAttentionType */
enum { 
    CLTAT_UNSET = 0, 
    CLTAT_CREDENTIALS = 1, 
    CLTAT_PKCS11 = 2, 
    CLTAT_ACCESS_PERM = 3, 
};


/* ClientAttentionGroup */
enum { 
    CLTG_UNSET = 0, 
    CLTG_USER_PASSWORD = 1, 
    CLTG_HTTP_PROXY_CREDS = 2, 
    CLTG_PK_PASSPHRASE = 3, 
    CLTG_CHALLENGE_STATIC = 4, 
    CLTG_CHALLENGE_DYNAMIC = 5, 
    CLTG_CHALLENGE_AUTH_PENDING = 6, 
    CLTG_PKCS11_SIGN = 7, 
    CLTG_PKCS11_DECRYPT = 8, 
    CLTG_OPEN_URL = 9, 
};


/* NetCfgChangeType */
enum { 
    NCFGCT_UNSET = 0, 
    NCFGCT_DEVICE_ADDED = 1, 
    NCFGCT_DEVICE_REMOVED = 2, 
    NCFGCT_IPADDR_ADDED = 4, 
    NCFGCT_IPADDR_REMOVED = 8, 
    NCFGCT_ROUTE_ADDED = 16, 
    NCFGCT_ROUTE_REMOVED = 32, 
    NCFGCT_ROUTE_EXCLUDED = 64, 
    NCFGCT_DNS_SERVER_ADDED = 128, 
    NCFGCT_DNS_SERVER_REMOVED = 256, 
    NCFGCT_DNS_SEARCH_ADDED = 512, 
    NCFGCT_DNS_SEARCH_REMOVED = 1024, 
};


