diff options
author | Volker Lendecke <vl@samba.org> | 2011-12-13 16:48:11 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-12-14 17:34:20 +0100 |
commit | a2d1b3b144633ed7ce37492874d691fc0244d7aa (patch) | |
tree | aff65753f7f7b322430c991febcb5b5d0ac66aba /source3/nmbd/nmbd_proto.h | |
parent | 5c3194cc41c68ce4aacf339225b0b0d3a4f42963 (diff) | |
download | samba-a2d1b3b144633ed7ce37492874d691fc0244d7aa.tar.gz samba-a2d1b3b144633ed7ce37492874d691fc0244d7aa.tar.bz2 samba-a2d1b3b144633ed7ce37492874d691fc0244d7aa.zip |
s3: Centralize nmbd_messaging_context in nmbd.c
Diffstat (limited to 'source3/nmbd/nmbd_proto.h')
-rw-r--r-- | source3/nmbd/nmbd_proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nmbd/nmbd_proto.h b/source3/nmbd/nmbd_proto.h index 0258b4a478..0e62bc0d0e 100644 --- a/source3/nmbd/nmbd_proto.h +++ b/source3/nmbd/nmbd_proto.h @@ -28,8 +28,8 @@ int asyncdns_fd(void); void kill_async_dns_child(void); -void start_async_dns(void); -void run_dns_queue(void); +void start_async_dns(struct messaging_context *msg); +void run_dns_queue(struct messaging_context *msg); bool queue_dns_query(struct packet_struct *p,struct nmb_name *question); bool queue_dns_query(struct packet_struct *p,struct nmb_name *question); void kill_async_dns_child(void); @@ -264,7 +264,7 @@ void reply_netbios_packet(struct packet_struct *orig_packet, void queue_packet(struct packet_struct *packet); void run_packet_queue(void); void retransmit_or_expire_response_records(time_t t); -bool listen_for_packets(bool run_election); +bool listen_for_packets(struct messaging_context *msg, bool run_election); bool send_mailslot(bool unique, const char *mailslot,char *buf, size_t len, const char *srcname, int src_type, const char *dstname, int dest_type, |