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-admin.c | 99 +++++++++++++++++++++++++++++++++++----------- libcsoap/soap-admin.h | 16 +++++--- libcsoap/soap-server.c | 37 +++++++++++------ libcsoap/soap-service.c | 4 +- libcsoap/soap-service.h | 28 +++++++++++-- nanohttp/nanohttp-admin.c | 43 ++++++++++++++------ nanohttp/nanohttp-server.c | 24 +++++------ nanohttp/nanohttp-server.h | 12 +++--- 8 files changed, 186 insertions(+), 77 deletions(-) diff --git a/libcsoap/soap-admin.c b/libcsoap/soap-admin.c index 715e3ca..efc9651 100644 --- a/libcsoap/soap-admin.c +++ b/libcsoap/soap-admin.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-admin.c,v 1.10 2006/11/26 20:13:05 m0gg Exp $ +* $Id: soap-admin.c,v 1.11 2006/12/31 17:24:22 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -62,23 +62,38 @@ static void _soap_admin_send_title(httpd_conn_t *conn, const char *title) { httpd_send_header(conn, 200, HTTP_STATUS_200_REASON_PHRASE); + http_output_stream_write_string(conn->out, - "
"); + http_output_stream_write_string(conn->out, - "csoap "); + "" + "" + "csoap "); http_output_stream_write_string(conn->out, title); http_output_stream_write_string(conn->out, "