From fc3ecf82c3d0f8037e9130655128564de5d3c158 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Wed, 11 Jan 2006 10:54:43 +0000 Subject: intergrating ssl. Removing global variables SSL* like SSLctx and HSOCKET_SSL_* definition. Instead we are using HSOCKET_ERROR_SSL* definitions. introduced hsocket_init_ssl() --- nanohttp/nanohttp-common.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nanohttp/nanohttp-common.h') diff --git a/nanohttp/nanohttp-common.h b/nanohttp/nanohttp-common.h index 7a957ce..eb2c426 100644 --- a/nanohttp/nanohttp-common.h +++ b/nanohttp/nanohttp-common.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-common.h,v 1.22 2006/01/10 11:29:05 snowdrop Exp $ + * $Id: nanohttp-common.h,v 1.23 2006/01/11 10:54:43 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -105,7 +105,8 @@ #define HSOCKET_ERROR_ACCEPT 1008 #define HSOCKET_ERROR_NOT_INITIALIZED 1009 #define HSOCKET_ERROR_IOCTL 1010 -#define HSOCKET_SSL_CLOSE 1011 +#define HSOCKET_ERROR_SSLCLOSE 1011 +#define HSOCKET_ERROR_SSLCTX 1011 /* URL errors */ #define URL_ERROR_UNKNOWN_PROTOCOL 1101 @@ -139,7 +140,7 @@ #define XML_ERROR_PARSE 1601 /* SSL Errors */ -#define SSL_ERROR_INIT 1700 +/*#define SSL_ERROR_INIT 1700*/ /* Set Sleep function platform depended -- cgit v1.1-32-gdbae