From 68e70db8b8e22afb6cd5be057dedb75a891cad98 Mon Sep 17 00:00:00 2001 From: m0gg Date: Mon, 15 May 2006 06:45:07 +0000 Subject: csoap admin commandline switch --- libcsoap/soap-admin.c | 16 +++++++++++++--- libcsoap/soap-admin.h | 4 +++- 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'libcsoap') diff --git a/libcsoap/soap-admin.c b/libcsoap/soap-admin.c index 00f222a..65e07c9 100644 --- a/libcsoap/soap-admin.c +++ b/libcsoap/soap-admin.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-admin.c,v 1.3 2006/03/29 08:49:59 m0gg Exp $ +* $Id: soap-admin.c,v 1.4 2006/05/15 06:45:07 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -162,10 +162,20 @@ _soap_admin_entry(httpd_conn_t * conn, hrequest_t * req) } -herror_t soap_admin_init_args(int argc, char **argv) +herror_t +soap_admin_init_args(int argc, char **argv) { - httpd_register("/csoap", _soap_admin_entry); + int i; + + for (i=0; i