summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp/nanohttp-common.h')
-rw-r--r--nanohttp/nanohttp-common.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-common.h b/nanohttp/nanohttp-common.h
index ef025a6..f23d165 100644
--- a/nanohttp/nanohttp-common.h
+++ b/nanohttp/nanohttp-common.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: nanohttp-common.h,v 1.19 2005/07/23 23:14:31 snowdrop Exp $
+ * $Id: nanohttp-common.h,v 1.20 2005/12/19 14:06:16 snowdrop Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -46,6 +46,11 @@
#define NHTTP_ARG_LOGFILE "-NHTTPlog"
#define NHTTP_ARG_TMPDIR "-NHTTPtmpdir"
+#define NHTTP_ARG_CERT "-NHTTPcert"
+#define NHTTP_ARG_CERTPASS "-NHTTPcertpass"
+#define NHTTP_ARG_CA "-NHTTPCA"
+#define NHTTP_ARG_HTTPS "-NHTTPS"
+
#ifndef SAVE_STR
#define SAVE_STR(str) ((str==0)?("(null)"):(str))
#endif
@@ -100,6 +105,7 @@
#define HSOCKET_ERROR_ACCEPT 1008
#define HSOCKET_ERROR_NOT_INITIALIZED 1009
#define HSOCKET_ERROR_IOCTL 1010
+#define HSOCKET_SSL_CLOSE 1011
/* URL errors */
#define URL_ERROR_UNKNOWN_PROTOCOL 1101
@@ -132,6 +138,9 @@
#define XML_ERROR_EMPTY_DOCUMENT 1600
#define XML_ERROR_PARSE 1601
+/* SSL Errors */
+#define SSL_ERROR_INIT 1700
+
/*
Set Sleep function platform depended
*/
@@ -459,7 +468,6 @@ void hoption_init_args(int argc, char* argv[]);
void hoption_set(int opt, const char* value);
char *hoption_get(int opt);
-
/* logging stuff */
typedef enum log_level
{