diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-26 14:55:54 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-27 15:28:11 +0100 |
commit | bf2347bd7df19156da8a2884e41ca5b98a3c94c6 (patch) | |
tree | 1ba04c37e613721b5d18107ff169c9730b6cc2d5 /source3/include | |
parent | e11e82318c92fdfdc231eb48abb2fb6faac3dcf0 (diff) | |
download | samba-bf2347bd7df19156da8a2884e41ca5b98a3c94c6.tar.gz samba-bf2347bd7df19156da8a2884e41ca5b98a3c94c6.tar.xz samba-bf2347bd7df19156da8a2884e41ca5b98a3c94c6.zip |
s3:smbd: make mdns registration event driven.
metze
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 14 | ||||
-rw-r--r-- | source3/include/proto.h | 11 |
2 files changed, 3 insertions, 22 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 50140c17f72..ea856f1c164 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 ae492905398..f8a9dbce66f 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 */ |