From 48873b11cc7f101bd5f3eb74fedacce40e73dd91 Mon Sep 17 00:00:00 2001 From: m0gg Date: Sat, 25 Nov 2006 16:35:57 +0000 Subject: Documentation enhancements --- libcsoap/soap-addressing.h | 24 ++++++++++++++++++++---- libcsoap/soap-admin.c | 6 +++--- libcsoap/soap-nhttp.c | 6 +++--- libcsoap/soap-wsil.c | 6 +++--- 4 files changed, 29 insertions(+), 13 deletions(-) (limited to 'libcsoap') diff --git a/libcsoap/soap-addressing.h b/libcsoap/soap-addressing.h index 0893ac5..ed2ca86 100644 --- a/libcsoap/soap-addressing.h +++ b/libcsoap/soap-addressing.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-addressing.h,v 1.4 2006/11/24 10:54:03 m0gg Exp $ + * $Id: soap-addressing.h,v 1.5 2006/11/25 16:35:57 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2006 Heiko Ronsdorf @@ -24,7 +24,7 @@ #ifndef __csoap_addressing_h #define __csoap_addressing_h -/** +/** @file * * WS-Addressing provides transport-neutral mechanisms to address Web services * and messages. Specifically, this specification defines XML [XML 1.0, XML @@ -35,11 +35,27 @@ * in a transport-neutral manner. * * @author H. Ronsdorf - * @version $Revision: 1.4 $ - * @see http://www.w3.org/TR/ws-addr-core/ + * @version $Revision: 1.5 $ + * + * @see http://www.w3.org/TR/ws-addr-core/, + * http://www.w3.org/TR/REC-xml-names/ + * + */ + +/** + * + * Namespace used for the addressing elements. * */ #define WSA_NAMESPACE "http://www.w3.org/2005/08/addressing" + +/** + * + * Prefix for the WSA namespace used internally. + * + * @see WSA_NAMESPACE + * + */ #define WSA_NAMESPACE_PREFIX "wsa" /** diff --git a/libcsoap/soap-admin.c b/libcsoap/soap-admin.c index 20b3412..81310ed 100644 --- a/libcsoap/soap-admin.c +++ b/libcsoap/soap-admin.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-admin.c,v 1.8 2006/11/25 15:06:57 m0gg Exp $ +* $Id: soap-admin.c,v 1.9 2006/11/25 16:35:57 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -60,7 +60,7 @@ static void _soap_admin_send_title(httpd_conn_t *conn, const char *title) { - httpd_send_header(conn, 200, "OK"); + httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE); http_output_stream_write_string(conn->out, "