Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
.fn_get_fd = tls_socket_get_fd
};
-bool tls_support(struct tls_params *params)
-{
- return params->tls_enabled;
-}
-
#else
/* for systems without tls we just fail the operations, and the caller
return NULL;
}
-bool tls_support(struct tls_params *params)
-{
- return false;
-}
-
#endif
bool tls_enabled(struct socket_context *tls);
-/*
- true if tls support is compiled in
-*/
-bool tls_support(struct tls_params *parms);
-
const struct socket_ops *socket_tls_ops(enum socket_type type);
struct tstream_context;