From d95f9da3572131ceeefd245d99c795ab8bc11880 Mon Sep 17 00:00:00 2001 From: m0gg Date: Sun, 31 Dec 2006 17:24:22 +0000 Subject: Addded hooks for Web Service Management --- libcsoap/soap-service.h | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'libcsoap/soap-service.h') 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; -- cgit v1.1-32-gdbae