From 0b4eb47e2703e425f77010ae00bef6a50de88ea1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:45:45 +0100 Subject: source4/: Fix prototypes for all functions in various subsystems. --- source4/cldap_server/cldap_server.c | 2 ++ source4/dns_server/dns_server.c | 2 ++ source4/dsdb/dns/dns_update.c | 2 ++ source4/echo_server/echo_server.c | 2 ++ source4/libcli/finddcs_nbt.c | 1 + source4/nbt_server/nbt_server.c | 2 ++ source4/ntp_signd/ntp_signd.c | 2 ++ source4/ntptr/simple_ldb/ntptr_simple_ldb.c | 2 ++ source4/smb_server/smb_samba3.c | 2 ++ source4/web_server/web_server.c | 2 ++ 10 files changed, 19 insertions(+) (limited to 'source4') diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c index 5dbf9c99be..43eadf5aff 100644 --- a/source4/cldap_server/cldap_server.c +++ b/source4/cldap_server/cldap_server.c @@ -35,6 +35,8 @@ #include "param/param.h" #include "../lib/tsocket/tsocket.h" +NTSTATUS server_service_cldapd_init(void); + /* handle incoming cldap requests */ diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c index fc343ba058..0e5def15c0 100644 --- a/source4/dns_server/dns_server.c +++ b/source4/dns_server/dns_server.c @@ -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; diff --git a/source4/dsdb/dns/dns_update.c b/source4/dsdb/dns/dns_update.c index 3c625db7cc..ede730a8a9 100644 --- a/source4/dsdb/dns/dns_update.c +++ b/source4/dsdb/dns/dns_update.c @@ -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; diff --git a/source4/echo_server/echo_server.c b/source4/echo_server/echo_server.c index 02e26bdbe3..4be6f21af8 100644 --- a/source4/echo_server/echo_server.c +++ b/source4/echo_server/echo_server.c @@ -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 */ diff --git a/source4/libcli/finddcs_nbt.c b/source4/libcli/finddcs_nbt.c index c7e89898b6..12b94f7bab 100644 --- a/source4/libcli/finddcs_nbt.c +++ b/source4/libcli/finddcs_nbt.c @@ -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; diff --git a/source4/nbt_server/nbt_server.c b/source4/nbt_server/nbt_server.c index 4bccc02cc5..6dbdaf9f54 100644 --- a/source4/nbt_server/nbt_server.c +++ b/source4/nbt_server/nbt_server.c @@ -30,6 +30,8 @@ #include "dsdb/samdb/samdb.h" #include "param/param.h" +NTSTATUS server_service_nbtd_init(void); + /* startup the nbtd task */ diff --git a/source4/ntp_signd/ntp_signd.c b/source4/ntp_signd/ntp_signd.c index 969d698a16..c6d605699f 100644 --- a/source4/ntp_signd/ntp_signd.c +++ b/source4/ntp_signd/ntp_signd.c @@ -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 */ diff --git a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c index 27ab6dec6d..c25c61d36b 100644 --- a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c +++ b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c @@ -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 diff --git a/source4/smb_server/smb_samba3.c b/source4/smb_server/smb_samba3.c index ed9027afac..b0ed38cf6a 100644 --- a/source4/smb_server/smb_samba3.c +++ b/source4/smb_server/smb_samba3.c @@ -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 diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index b2f6f5f4ba..338cc2b57a 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -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 -- cgit