git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bd0eced
)
source4/: Fix prototypes for all functions in various subsystems.
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 18 Mar 2011 23:45:45 +0000
(
00:45
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sat, 19 Mar 2011 02:20:05 +0000
(
03:20
+0100)
source4/cldap_server/cldap_server.c
patch
|
blob
|
history
source4/dns_server/dns_server.c
patch
|
blob
|
history
source4/dsdb/dns/dns_update.c
patch
|
blob
|
history
source4/echo_server/echo_server.c
patch
|
blob
|
history
source4/libcli/finddcs_nbt.c
patch
|
blob
|
history
source4/nbt_server/nbt_server.c
patch
|
blob
|
history
source4/ntp_signd/ntp_signd.c
patch
|
blob
|
history
source4/ntptr/simple_ldb/ntptr_simple_ldb.c
patch
|
blob
|
history
source4/smb_server/smb_samba3.c
patch
|
blob
|
history
source4/web_server/web_server.c
patch
|
blob
|
history
diff --git
a/source4/cldap_server/cldap_server.c
b/source4/cldap_server/cldap_server.c
index 5dbf9c99be85d00257d2f92f9c612f2cc0bf6f66..43eadf5affcb33f45f3677f0f78dd5c16312b665 100644
(file)
--- 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"
#include "param/param.h"
#include "../lib/tsocket/tsocket.h"
+NTSTATUS server_service_cldapd_init(void);
+
/*
handle incoming cldap requests
*/
/*
handle incoming cldap requests
*/
diff --git
a/source4/dns_server/dns_server.c
b/source4/dns_server/dns_server.c
index fc343ba0580cfc0f49aa7ab781b3c7cc33112b98..0e5def15c00a6964eee7eb4bd42718a690bdf29d 100644
(file)
--- 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"
#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;
/* 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 3c625db7cc30c46d2bcd1eae28e3e52277f8aa6f..ede730a8a9435d1cf44b6c9a6da77022b8d84e05 100644
(file)
--- 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"
#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;
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 02e26bdbe3a7846a9bab071e403b5ac969e4bcbd..4be6f21af8405ff2b21152b524d57fde78fab8ae 100644
(file)
--- 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"
/* 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 */
/* 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 c7e89898b61d2c347f1db0dab0ad57e3198b5a0e..12b94f7bab3c5c52c11be7829a4a3c266a6a3d87 100644
(file)
--- 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/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;
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 4bccc02cc53bfd2000494b78f0ed7da89e143818..6dbdaf9f54c5b1aad77f320b896912c3c7b277c1 100644
(file)
--- 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"
#include "dsdb/samdb/samdb.h"
#include "param/param.h"
+NTSTATUS server_service_nbtd_init(void);
+
/*
startup the nbtd task
*/
/*
startup the nbtd task
*/
diff --git
a/source4/ntp_signd/ntp_signd.c
b/source4/ntp_signd/ntp_signd.c
index 969d698a16f51777e4af3ead95c6917895df65d4..c6d605699f6dedaa91fa648af05e37feb17613ca 100644
(file)
--- 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"
#include "system/network.h"
#include "system/passwd.h"
+NTSTATUS server_service_ntp_signd_init(void);
+
/*
top level context structure for the ntp_signd server
*/
/*
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 27ab6dec6d7d9eb9867ce722c65fd186f36ac6ed..c25c61d36bb16222094cbc65e26c56c365e695ac 100644
(file)
--- 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"
#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
/*
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 ed9027afac47e509a57dd8f75af327d49f52cb04..b0ed38cf6a88e8a4e4cc02975a07842f8a43b453 100644
(file)
--- 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"
#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
/*
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 b2f6f5f4ba22dd2f5d6a7d9be14c0ec842780e46..338cc2b57a3784be13d64b2add3afd4922c9f14d 100644
(file)
--- 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"
#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
/* don't allow connections to hang around forever */
#define HTTP_TIMEOUT 120