summaryrefslogtreecommitdiffstats
path: root/libcsoap/soap-ctx.h
diff options
context:
space:
mode:
authorGravatar snowdrop2006-02-18 20:14:35 +0000
committerGravatar snowdrop2006-02-18 20:14:35 +0000
commitd45b4bc26f330d2ce29e4a06ffdae74d82e8b43b (patch)
treed4b985c32b1246f5cde7c294b6654b27f71cc81b /libcsoap/soap-ctx.h
parent29b034ec9c827c7311e69fcb5765ef4e43478c29 (diff)
downloadcsoap-d45b4bc26f330d2ce29e4a06ffdae74d82e8b43b.tar.gz
csoap-d45b4bc26f330d2ce29e4a06ffdae74d82e8b43b.tar.bz2
added basic authentication and SOAP-Header capabilities for request objects
Thanks to Heiko Ronsdorf
Diffstat (limited to 'libcsoap/soap-ctx.h')
-rwxr-xr-xlibcsoap/soap-ctx.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libcsoap/soap-ctx.h b/libcsoap/soap-ctx.h
index 1baabba..a4784f5 100755
--- a/libcsoap/soap-ctx.h
+++ b/libcsoap/soap-ctx.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-ctx.h,v 1.7 2006/01/10 11:29:04 snowdrop Exp $
+ * $Id: soap-ctx.h,v 1.8 2006/02/18 20:14:36 snowdrop Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -24,10 +24,10 @@
#ifndef cSOAP_CTX_H
#define cSOAP_CTX_H
-
-#include <libcsoap/soap-env.h>
#include <nanohttp/nanohttp-common.h>
+#include <nanohttp/nanohttp-server.h>
+#include <libcsoap/soap-env.h>
#define SOAP_ERROR_NO_FILE_ATTACHED 4001
#define SOAP_ERROR_EMPTY_ATTACHMENT 4002
@@ -37,6 +37,8 @@
typedef struct _SoapCtx
{
SoapEnv *env;
+ char *action;
+ hrequest_t *http;
attachments_t *attachments;
} SoapCtx;