strongswan/src/libcharon/plugins
Martin Willi 064fe9c963 enum: Return boolean result for enum_from_name() lookup
Handling the result for enum_from_name() is difficult, as checking for
negative return values requires a cast if the enum type is unsigned. The new
signature clearly differentiates lookup result from lookup value.

Further, this actually allows to convert real -1 enum values, which could not
be distinguished from "not-found" and the -1 return value.

This also fixes several clang warnings where enums are unsigned.
2014-05-16 15:42:07 +02:00
..
addrblock credmgr: introduce a hook function to catch trust chain validation errors 2013-07-18 16:00:30 +02:00
android_dns automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
android_log libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
certexpire libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
coupling enum: Return boolean result for enum_from_name() lookup 2014-05-16 15:42:07 +02:00
dhcp Properly hash pointers for hash tables where appropriate 2014-03-31 14:32:44 +02:00
dnscert libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
duplicheck libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
eap_aka libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
eap_aka_3gpp2 libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
eap_dynamic libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
eap_gtc libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
eap_identity automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
eap_md5 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
eap_mschapv2 eap-mschapv2: Fix potential leaks in case of invalid messages from servers 2014-04-09 18:27:02 +02:00
eap_peap eap-peap: Remove dead SoH code from PEAP 2014-05-16 15:42:07 +02:00
eap_radius enum: Return boolean result for enum_from_name() lookup 2014-05-16 15:42:07 +02:00
eap_sim libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
eap_sim_file automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
eap_sim_pcsc automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
eap_simaka_pseudonym automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
eap_simaka_reauth automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
eap_simaka_sql libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
eap_tls libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
eap_tnc Implemented PT-EAP protocol (RFC 7171) 2014-05-12 06:59:21 +02:00
eap_ttls Implemented PT-EAP protocol (RFC 7171) 2014-05-12 06:59:21 +02:00
error_notify libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
farp farp: use watcher instead of dedicated receiver thread 2013-07-18 16:00:29 +02:00
ha ikev2: Add inherit_pre() to apply config and hosts before IKE_SA rekeying 2014-04-17 09:24:51 +02:00
ipseckey libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
kernel_libipsec libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
led libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
load_tester enum: Return boolean result for enum_from_name() lookup 2014-05-16 15:42:07 +02:00
lookip lookip: Properly return from disconnect callback job 2014-02-18 11:21:51 +01:00
maemo ike: support multiple addresses, ranges and subnets in IKE address config 2013-09-04 10:38:37 +02:00
medcli ike: support multiple addresses, ranges and subnets in IKE address config 2013-09-04 10:38:37 +02:00
medsrv ike: support multiple addresses, ranges and subnets in IKE address config 2013-09-04 10:38:37 +02:00
osx_attr automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
radattr libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
smp Use exact mask when calling umask(2) 2013-10-29 16:01:55 +01:00
socket_default libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
socket_dynamic libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
sql libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
stroke enum: Return boolean result for enum_from_name() lookup 2014-05-16 15:42:07 +02:00
systime_fix libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
tnc_ifmap tls: Support a maximum TLS version to negotiate using TLS socket abstraction 2014-04-01 14:28:55 +02:00
tnc_pdp tnc-pdp: Fix monolithic build 2014-03-20 15:29:27 +01:00
uci ike: support multiple addresses, ranges and subnets in IKE address config 2013-09-04 10:38:37 +02:00
unit_tester automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
unity unity: Send all traffic selectors in a single UNITY_SPLIT_INCLUDE attribute 2014-01-23 10:35:21 +01:00
updown libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
vici enum: Return boolean result for enum_from_name() lookup 2014-05-16 15:42:07 +02:00
whitelist libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
xauth_eap libcharon: Use lib->ns instead of charon->name 2014-02-12 14:34:32 +01:00
xauth_generic xauth-generic: honor requested XAuth credential types as a client 2013-09-03 16:26:19 +02:00
xauth_noauth xauth: add a configuration string option to be passed to XAuth instances 2013-09-03 16:26:19 +02:00
xauth_pam xauth-pam: Fix header include guard 2014-05-16 15:42:07 +02:00