summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-ssl.h
diff options
context:
space:
mode:
authorGravatar m0gg2006-12-03 17:30:57 +0000
committerGravatar m0gg2006-12-03 17:30:57 +0000
commitc489665ace13d32f4959904b0215ed1021d0acf6 (patch)
tree7c9b3eb4d4d236a38e53be53d606c184b7192988 /nanohttp/nanohttp-ssl.h
parent60881bf7b91a87d12d0b2e694a6aa0db0b8b6fda (diff)
downloadcsoap-c489665ace13d32f4959904b0215ed1021d0acf6.tar.gz
csoap-c489665ace13d32f4959904b0215ed1021d0acf6.tar.bz2
Error codes moved
Diffstat (limited to 'nanohttp/nanohttp-ssl.h')
-rw-r--r--nanohttp/nanohttp-ssl.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-ssl.h b/nanohttp/nanohttp-ssl.h
index 6dbcad4..cc8b7f7 100644
--- a/nanohttp/nanohttp-ssl.h
+++ b/nanohttp/nanohttp-ssl.h
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-ssl.h,v 1.24 2006/12/01 10:56:00 m0gg Exp $
+* $Id: nanohttp-ssl.h,v 1.25 2006/12/03 17:30:58 m0gg Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2001-2005 Rochester Institute of Technology
@@ -31,6 +31,21 @@
*/
#define NHTTPD_ARG_HTTPS "-NHTTPS"
+
+/**
+ *
+ * SSL Errors
+ *
+ */
+#define HSSL_ERROR 1700
+#define HSSL_ERROR_CA_LIST (HSSL_ERROR + 10)
+#define HSSL_ERROR_CONTEXT (HSSL_ERROR + 20)
+#define HSSL_ERROR_CERTIFICATE (HSSL_ERROR + 30)
+#define HSSL_ERROR_PEM (HSSL_ERROR + 40)
+#define HSSL_ERROR_CLIENT (HSSL_ERROR + 50)
+#define HSSL_ERROR_SERVER (HSSL_ERROR + 60)
+#define HSSL_ERROR_CONNECT (HSSL_ERROR + 70)
+
#ifdef __cplusplus
extern "C" {
#endif