From 6457c46897d6e0c63476bf4ba4ca14b4844fac0d Mon Sep 17 00:00:00 2001 From: m0gg Date: Thu, 23 Nov 2006 15:27:32 +0000 Subject: Code cleanup --- libcsoap/soap-admin.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'libcsoap/soap-admin.c') diff --git a/libcsoap/soap-admin.c b/libcsoap/soap-admin.c index 5558c75..b792ae6 100644 --- a/libcsoap/soap-admin.c +++ b/libcsoap/soap-admin.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-admin.c,v 1.6 2006/11/21 20:59:02 m0gg Exp $ +* $Id: soap-admin.c,v 1.7 2006/11/23 15:27:33 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -45,17 +45,11 @@ #include #include -#include -#include #include #include #include -#define __CSOAP_INTERNAL - -#include "soap-fault.h" #include "soap-env.h" -#include "soap-ctx.h" #include "soap-service.h" #include "soap-router.h" #include "soap-server.h" @@ -109,7 +103,7 @@ _soap_admin_list_routers(httpd_conn_t *conn) static void _soap_admin_list_services(httpd_conn_t *conn, const char *routername) { - SoapRouter *router; + struct SoapRouter *router; SoapServiceNode *node; char buffer[1024]; @@ -144,7 +138,7 @@ _soap_admin_list_services(httpd_conn_t *conn, const char *routername) static void -_soap_admin_handle_get(httpd_conn_t * conn, hrequest_t * req) +_soap_admin_handle_get(httpd_conn_t * conn, struct hrequest_t * req) { char *param; @@ -163,6 +157,7 @@ _soap_admin_handle_get(httpd_conn_t * conn, hrequest_t * req) http_output_stream_write_string(conn->out, ""); @@ -174,7 +169,7 @@ _soap_admin_handle_get(httpd_conn_t * conn, hrequest_t * req) static void -_soap_admin_entry(httpd_conn_t * conn, hrequest_t * req) +_soap_admin_entry(httpd_conn_t * conn, struct hrequest_t * req) { if (req->method == HTTP_REQUEST_GET) { -- cgit v1.1-32-gdbae