summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-26 14:55:54 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-27 15:28:11 +0100
commitbf2347bd7df19156da8a2884e41ca5b98a3c94c6 (patch)
tree1ba04c37e613721b5d18107ff169c9730b6cc2d5 /source3/include
parente11e82318c92fdfdc231eb48abb2fb6faac3dcf0 (diff)
downloadsamba-bf2347bd7df19156da8a2884e41ca5b98a3c94c6.tar.gz
samba-bf2347bd7df19156da8a2884e41ca5b98a3c94c6.tar.bz2
samba-bf2347bd7df19156da8a2884e41ca5b98a3c94c6.zip
s3:smbd: make mdns registration event driven.
metze
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h14
-rw-r--r--source3/include/proto.h11
2 files changed, 3 insertions, 22 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 50140c17f7..ea856f1c16 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -678,20 +678,6 @@ struct printjob;
#include "smb_ldap.h"
-struct dns_reg_state;
-
-void dns_register_smbd(struct dns_reg_state ** dns_state_ptr,
- unsigned port,
- int *maxfd,
- fd_set *listen_set,
- struct timeval *timeout);
-
-void dns_register_close(struct dns_reg_state ** dns_state_ptr);
-
-
-bool dns_register_smbd_reply(struct dns_reg_state *dns_state,
- fd_set *lfds, struct timeval *timeout);
-
/*
* Reasons for cache flush.
*/
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ae49290539..f8a9dbce66 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6651,14 +6651,9 @@ uint32 dmapi_file_flags(const char * const path);
/* The following definitions come from smbd/dnsregister.c */
-void dns_register_close(struct dns_reg_state **dns_state_ptr);
-void dns_register_smbd(struct dns_reg_state ** dns_state_ptr,
- unsigned port,
- int *maxfd,
- fd_set *listen_set,
- struct timeval *timeout);
-bool dns_register_smbd_reply(struct dns_reg_state *dns_state,
- fd_set *lfds, struct timeval *timeout);
+bool smbd_setup_mdns_registration(struct tevent_context *ev,
+ TALLOC_CTX *mem_ctx,
+ uint16_t port);
/* The following definitions come from smbd/dosmode.c */