From a56fa8644e888b63fbe8f97b2c356ce39bd47ee7 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Mon, 27 Mar 2006 12:12:53 +0000 Subject: initial import --- libcsoap/soap-admin.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 libcsoap/soap-admin.c (limited to 'libcsoap') diff --git a/libcsoap/soap-admin.c b/libcsoap/soap-admin.c new file mode 100644 index 0000000..1ee9db5 --- /dev/null +++ b/libcsoap/soap-admin.c @@ -0,0 +1,114 @@ + + +#define SOAP_ADMIN_QUERY_ROUTERS "routers" +#define SOAP_ADMIN_QUERY_ROUTER "router" +#define SOAP_ADMIN_QUERY_SERVICES "services" + + +static void +_soap_admin_send_title(httpd_conn_t* conn, const char* title) +{ + httpd_send_header(conn, 200, "OK"); + http_output_stream_write_string(conn->out, + "
csoap "); + http_output_stream_write_string(conn->out, title); + http_output_stream_write_string(conn->out, "