diff options
author | snowdrop | 2006-01-11 10:54:43 +0000 |
---|---|---|
committer | snowdrop | 2006-01-11 10:54:43 +0000 |
commit | fc3ecf82c3d0f8037e9130655128564de5d3c158 (patch) | |
tree | dcbec599d761d8b0a9052a40151a2fea2af50b83 /nanohttp/nanohttp-common.h | |
parent | 3a17b921e00936e3007807439f60e4bd7c7d6a51 (diff) | |
download | csoap-fc3ecf82c3d0f8037e9130655128564de5d3c158.tar.gz csoap-fc3ecf82c3d0f8037e9130655128564de5d3c158.tar.bz2 |
intergrating ssl. Removing global variables SSL* like SSLctx and HSOCKET_SSL_* definition. Instead we are using HSOCKET_ERROR_SSL* definitions. introduced hsocket_init_ssl()
Diffstat (limited to 'nanohttp/nanohttp-common.h')
-rw-r--r-- | nanohttp/nanohttp-common.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 |