src/server/daemon/ws-fn.c

changeset 23
a2c8fc23c90e
parent 20
7b235fa88008
child 37
360b9aabe17e
--- a/src/server/daemon/ws-fn.c	Thu Feb 16 15:08:38 2012 +0100
+++ b/src/server/daemon/ws-fn.c	Wed Feb 22 23:20:39 2012 +0100
@@ -28,12 +28,16 @@
 
 #include "../public/nsapi.h"
 
+#include "../safs/auth.h"
 #include "../safs/nametrans.h"
+#include "../safs/pathcheck.h"
 #include "../safs/objecttype.h"
 #include "../safs/service.h"
 #include "../safs/init.h"
 #include "../webdav/webdav.h"
 
+#include "../admin/adminui.h"
+
 struct FuncStruct webserver_funcs[] = {
     { "init-test", init_test, NULL, 0 },
     { "load-modules", load_modules, NULL, 0},
@@ -45,5 +49,8 @@
     { "service-hello", service_hello, NULL, 0},
     { "send-options", send_options, NULL, 0},
     { "webdav-service", webdav_service, NULL, 0},
+    { "admin-index", adm_index, NULL, 0},
+    { "auth-basic", auth_basic, NULL, 0 },
+    { "require-auth", require_auth, NULL, 0},
     {NULL, NULL, NULL, 0}
 };

mercurial