source4/: Fix prototypes for all functions in various subsystems.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 18 Mar 2011 23:45:45 +0000 (00:45 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 19 Mar 2011 02:20:05 +0000 (03:20 +0100)
source4/cldap_server/cldap_server.c
source4/dns_server/dns_server.c
source4/dsdb/dns/dns_update.c
source4/echo_server/echo_server.c
source4/libcli/finddcs_nbt.c
source4/nbt_server/nbt_server.c
source4/ntp_signd/ntp_signd.c
source4/ntptr/simple_ldb/ntptr_simple_ldb.c
source4/smb_server/smb_samba3.c
source4/web_server/web_server.c

index 5dbf9c99be85d00257d2f92f9c612f2cc0bf6f66..43eadf5affcb33f45f3677f0f78dd5c16312b665 100644 (file)
@@ -35,6 +35,8 @@
 #include "param/param.h"
 #include "../lib/tsocket/tsocket.h"
 
+NTSTATUS server_service_cldapd_init(void);
+
 /*
   handle incoming cldap requests
 */
index fc343ba0580cfc0f49aa7ab781b3c7cc33112b98..0e5def15c00a6964eee7eb4bd42718a690bdf29d 100644 (file)
@@ -43,6 +43,8 @@
 #include "auth/session.h"
 #include "lib/util/dlinklist.h"
 
+NTSTATUS server_service_dns_init(void);
+
 /* hold information about one dns socket */
 struct dns_socket {
        struct dns_server *dns;
index 3c625db7cc30c46d2bcd1eae28e3e52277f8aa6f..ede730a8a9435d1cf44b6c9a6da77022b8d84e05 100644 (file)
@@ -39,6 +39,8 @@
 #include "libcli/security/dom_sid.h"
 #include "librpc/gen_ndr/ndr_irpc.h"
 
+NTSTATUS server_service_dnsupdate_init(void);
+
 struct dnsupdate_service {
        struct task_server *task;
        struct auth_session_info *system_session_info;
index 02e26bdbe3a7846a9bab071e403b5ac969e4bcbd..4be6f21af8405ff2b21152b524d57fde78fab8ae 100644 (file)
@@ -32,6 +32,8 @@
 /* tsocket-related functions */
 #include "lib/tsocket/tsocket.h"
 
+NTSTATUS server_service_echo_init(void);
+
 /* Structure to hold an echo server socket */
 struct echo_socket {
        /* This can come handy for the task struct in there */
index c7e89898b61d2c347f1db0dab0ad57e3198b5a0e..12b94f7bab3c5c52c11be7829a4a3c266a6a3d87 100644 (file)
@@ -28,6 +28,7 @@
 #include "libcli/libcli.h"
 #include "libcli/resolve/resolve.h"
 #include "lib/util/tevent_ntstatus.h"
+#include "libcli/finddc.h"
 
 struct finddcs_nbt_state {
        struct tevent_context *ev;
index 4bccc02cc53bfd2000494b78f0ed7da89e143818..6dbdaf9f54c5b1aad77f320b896912c3c7b277c1 100644 (file)
@@ -30,6 +30,8 @@
 #include "dsdb/samdb/samdb.h"
 #include "param/param.h"
 
+NTSTATUS server_service_nbtd_init(void);
+
 /*
   startup the nbtd task
 */
index 969d698a16f51777e4af3ead95c6917895df65d4..c6d605699f6dedaa91fa648af05e37feb17613ca 100644 (file)
@@ -41,6 +41,8 @@
 #include "system/network.h"
 #include "system/passwd.h"
 
+NTSTATUS server_service_ntp_signd_init(void);
+
 /*
   top level context structure for the ntp_signd server
 */
index 27ab6dec6d7d9eb9867ce722c65fd186f36ac6ed..c25c61d36bb16222094cbc65e26c56c365e695ac 100644 (file)
@@ -40,6 +40,8 @@
 #include "rpc_server/common/common.h"
 #include "param/param.h"
 
+NTSTATUS ntptr_simple_ldb_init(void);
+
 /*
   connect to the SPOOLSS database
   return a ldb_context pointer on success, or NULL on failure
index ed9027afac47e509a57dd8f75af327d49f52cb04..b0ed38cf6a88e8a4e4cc02975a07842f8a43b453 100644 (file)
@@ -28,6 +28,8 @@
 #include "dynconfig/dynconfig.h"
 #include "smbd/process_model.h"
 
+NTSTATUS server_service_samba3_smb_init(void);
+
 /*
   initialise a server_context from a open socket and register a event handler
   for reading from that socket
index b2f6f5f4ba22dd2f5d6a7d9be14c0ec842780e46..338cc2b57a3784be13d64b2add3afd4922c9f14d 100644 (file)
@@ -28,6 +28,8 @@
 #include "lib/socket/netif.h"
 #include "param/param.h"
 
+NTSTATUS server_service_web_init(void);
+
 /* don't allow connections to hang around forever */
 #define HTTP_TIMEOUT 120