summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libradsec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libradsec.h b/lib/libradsec.h
index b4543f8..81c8f4c 100644
--- a/lib/libradsec.h
+++ b/lib/libradsec.h
@@ -18,11 +18,13 @@ enum rs_conn_type {
RS_CONN_TYPE_TLS,
RS_CONN_TYPE_DTLS,
};
+typedef unsigned int rs_conn_type_t;
enum rs_cred_type {
RS_CRED_NONE = 0,
RS_CRED_TLS_PSK_RSA, /* RFC 4279. */
};
+typedef unsigned int rs_cred_type_t;
struct rs_credentials {
enum rs_cred_type type;