summaryrefslogtreecommitdiffstats
path: root/libcsoap/soap-service.h
diff options
context:
space:
mode:
authorGravatar m0gg2006-12-31 17:24:22 +0000
committerGravatar m0gg2006-12-31 17:24:22 +0000
commitd95f9da3572131ceeefd245d99c795ab8bc11880 (patch)
tree21897c4cec8b0d7b19d915a9c19c8366cad268a1 /libcsoap/soap-service.h
parent2fbfdcdff09db6a1c0041022b208320d15e24d13 (diff)
downloadcsoap-d95f9da3572131ceeefd245d99c795ab8bc11880.tar.gz
csoap-d95f9da3572131ceeefd245d99c795ab8bc11880.tar.bz2
Addded hooks for Web Service Management
Diffstat (limited to 'libcsoap/soap-service.h')
-rw-r--r--libcsoap/soap-service.h28
1 files changed, 24 insertions, 4 deletions
diff --git a/libcsoap/soap-service.h b/libcsoap/soap-service.h
index 33d69f6..47072b4 100644
--- a/libcsoap/soap-service.h
+++ b/libcsoap/soap-service.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-service.h,v 1.9 2006/11/27 10:49:57 m0gg Exp $
+ * $Id: soap-service.h,v 1.10 2006/12/31 17:24:22 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -33,12 +33,31 @@
* messages, typically conveyed using HTTP with an XML serialization in
* conjunction with other Web-related standards.
*
- * @see http://www.w3.org/TR/wslc/,
- * http://www.w3.org/TR/wsdl,
- * http://www.w3.org/TR/owl-ref/
+ * @see http://www.w3.org/TR/wslc/
+ * @see http://www.w3.org/TR/wsdl
+ * @see http://www.w3.org/TR/owl-ref/
*
*/
+/**
+ *
+ * This service status shows that the provider agent is not capable of accepting
+ * any requests (i.e. the service is not available).
+ *
+ * @see http://www.w3.org/TR/wslc/
+ *
+ */
+#define CSOAP_SERVICE_DOWN 0
+
+/**
+ *
+ * This service status shows that the provider agent is capable of accepting and
+ * processing requests (i.e. the service is available)
+ *
+ * @see http://www.w3.org/TR/wslc/
+ *
+ */
+#define CSOAP_SERVICE_UP 1
typedef herror_t (*SoapServiceFunc)(struct SoapCtx *request, struct SoapCtx *response);
@@ -46,6 +65,7 @@ typedef struct _SoapService
{
char *urn;
char *method;
+ int status;
SoapServiceFunc func;
} SoapService;