1%{
2typedef void (*option_set_func)(gnutls_priority_t);
3%}
4%language=ANSI-C
5%readonly-tables
6struct priority_options_st { const char *name; option_set_func func; };
7%%
8COMPAT, enable_compat
9DUMBFW, enable_dumbfw
10NO_EXTENSIONS, enable_no_extensions
11NO_TICKETS, enable_no_tickets
12NO_ETM, enable_no_etm
13FORCE_ETM, enable_force_etm
14NO_SESSION_HASH, enable_no_ext_master_secret
15STATELESS_COMPRESSION, dummy_func
16VERIFY_ALLOW_BROKEN, enable_verify_allow_broken
17VERIFY_ALLOW_SIGN_RSA_MD5, enable_verify_allow_rsa_md5
18VERIFY_ALLOW_SIGN_WITH_SHA1, enable_verify_allow_sha1
19VERIFY_DISABLE_CRL_CHECKS, disable_crl_checks
20SSL3_RECORD_VERSION, enable_ssl3_record_version
21LATEST_RECORD_VERSION, enable_latest_record_version
22VERIFY_ALLOW_X509_V1_CA_CRT, dummy_func
23UNSAFE_RENEGOTIATION, enable_unsafe_renegotiation
24SAFE_RENEGOTIATION, enable_safe_renegotiation
25PARTIAL_RENEGOTIATION, enable_partial_safe_renegotiation
26DISABLE_SAFE_RENEGOTIATION, disable_safe_renegotiation
27FALLBACK_SCSV, enable_fallback_scsv
28DISABLE_WILDCARDS, disable_wildcards
29SERVER_PRECEDENCE, enable_server_precedence
30PROFILE_VERY_WEAK, enable_profile_very_weak
31PROFILE_LOW, enable_profile_low
32PROFILE_LEGACY, enable_profile_legacy
33PROFILE_MEDIUM, enable_profile_medium
34PROFILE_HIGH, enable_profile_high
35PROFILE_ULTRA, enable_profile_ultra
36PROFILE_FUTURE, enable_profile_future
37PROFILE_SUITEB128, enable_profile_suiteb128
38PROFILE_SUITEB192, enable_profile_suiteb192
39NEW_PADDING, dummy_func
40DEBUG_ALLOW_KEY_USAGE_VIOLATIONS, enable_server_key_usage_violations
41ALLOW_SMALL_RECORDS, enable_allow_small_records
42