From c2a4e49d2805537ea9547755a1f6841f826c8020 Mon Sep 17 00:00:00 2001 From: m0gg Date: Mon, 27 Mar 2006 12:53:19 +0000 Subject: hssl_enabled added; code cleanup --- nanohttp/nanohttp-ssl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nanohttp/nanohttp-ssl.h') diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h index f27a441..5e732c2 100644 --- a/nanohttp/nanohttp-ssl.h +++ b/nanohttp/nanohttp-ssl.h @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-ssl.h,v 1.12 2006/03/07 16:20:37 m0gg Exp $ +* $Id: nanohttp-ssl.h,v 1.13 2006/03/27 12:53:19 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2001-2005 Rochester Institute of Technology @@ -46,6 +46,8 @@ extern "C" { herror_t hssl_module_init(int argc, char **argv); void hssl_module_destroy(void); +int hssl_enabled(void); + /** * * Socket initialization and shutdown @@ -91,6 +93,8 @@ int user_verify(X509 * cert); static inline herror_t hssl_module_init(int argc, char **argv) { return H_OK; } static inline void hssl_module_destroy(void) { return; } +static inline int hssl_enabled(void) { return 0; } + static inline herror_t hssl_client_ssl(hsocket_t *sock) { return H_OK; } static inline herror_t hssl_server_ssl(hsocket_t *sock) { return H_OK; } -- cgit v1.1-32-gdbae