diff options
author | m0gg | 2006-11-25 16:35:57 +0000 |
---|---|---|
committer | m0gg | 2006-11-25 16:35:57 +0000 |
commit | 48873b11cc7f101bd5f3eb74fedacce40e73dd91 (patch) | |
tree | 7e7380515a35ec975ef7b57d6c38c0e7ec1d4c7b /libcsoap | |
parent | 5518d08a6c6446e1323bb6f762ef9132a9856c1d (diff) | |
download | csoap-48873b11cc7f101bd5f3eb74fedacce40e73dd91.tar.gz csoap-48873b11cc7f101bd5f3eb74fedacce40e73dd91.tar.bz2 |
Documentation enhancements
Diffstat (limited to 'libcsoap')
-rw-r--r-- | libcsoap/soap-addressing.h | 24 | ||||
-rw-r--r-- | libcsoap/soap-admin.c | 6 | ||||
-rw-r--r-- | libcsoap/soap-nhttp.c | 6 | ||||
-rw-r--r-- | libcsoap/soap-wsil.c | 6 |
4 files changed, 29 insertions, 13 deletions
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, "<html><head><style>"); http_output_stream_write_string(conn->out, @@ -179,7 +179,7 @@ _soap_admin_entry(httpd_conn_t * conn, struct hrequest_t * req) } else { - httpd_send_header(conn, 200, "OK"); + httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE); http_output_stream_write_string(conn->out, "<html>" "<head>" diff --git a/libcsoap/soap-nhttp.c b/libcsoap/soap-nhttp.c index 0546c58..ce48394 100644 --- a/libcsoap/soap-nhttp.c +++ b/libcsoap/soap-nhttp.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-nhttp.c,v 1.3 2006/11/25 15:06:57 m0gg Exp $ +* $Id: soap-nhttp.c,v 1.4 2006/11/25 16:35:57 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -75,7 +75,7 @@ _soap_nhttp_send_document(httpd_conn_t *conn, xmlDocPtr doc) sprintf(length, "%d", xmlBufferLength(buf)); httpd_set_header(conn, HEADER_CONTENT_TYPE, "text/xml"); httpd_set_header(conn, HEADER_CONTENT_LENGTH, length); - httpd_send_header(conn, 200, "OK"); + httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE); http_output_stream_write_string(conn->out, xmlBufferContent(buf)); @@ -157,7 +157,7 @@ soap_nhttp_process(httpd_conn_t * conn, struct hrequest_t * req) if (req->method != HTTP_REQUEST_POST) { - httpd_send_header(conn, 200, "OK"); + httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE); http_output_stream_write_string(conn->out, "<html>" "<head>" diff --git a/libcsoap/soap-wsil.c b/libcsoap/soap-wsil.c index 2a11130..f4960ef 100644 --- a/libcsoap/soap-wsil.c +++ b/libcsoap/soap-wsil.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-wsil.c,v 1.3 2006/11/25 15:06:58 m0gg Exp $ +* $Id: soap-wsil.c,v 1.4 2006/11/25 16:35:57 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -84,7 +84,7 @@ static void _soap_wsil_handle_get(httpd_conn_t * conn, struct hrequest_t * req) { httpd_set_header(conn, HEADER_CONTENT_TYPE, "text/xml"); - httpd_send_header(conn, 200, "OK"); + httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE); http_output_stream_write_string(conn->out, "<?xml version=\"1.0\" encoding=\"utf-8\"?>" @@ -108,7 +108,7 @@ _soap_wsil_entry(httpd_conn_t * conn, struct hrequest_t * req) } else { - httpd_send_header(conn, 200, "OK"); + httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE); http_output_stream_write_string(conn->out, "<html>" "<head>" |