split out code that is needed only when tls or dtls is used
[libradsec.git] / tlscommon.h
1 /*
2  * Copyright (C) 2006-2008 Stig Venaas <venaas@uninett.no>
3  *
4  * Permission to use, copy, modify, and distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  */
8
9 #if defined(RADPROT_TLS) || defined(RADPROT_DTLS)
10 struct tls *tlsgettls(char *alt1, char *alt2);
11 SSL_CTX *tlsgetctx(uint8_t type, struct tls *t);
12 int conftls_cb(struct gconffile **cf, void *arg, char *block, char *opt, char *val);
13 #endif