s3-registry: Check return code of push_reg_sz().
[kai/samba.git] / source3 / nmbd / nmbd_proto.h
index 0258b4a478bd581de84c408d2e06669268304834..59ad423f03508fb4a2fc0071c504418780995cb3 100644 (file)
@@ -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);
@@ -37,7 +37,6 @@ void kill_async_dns_child(void);
 /* The following definitions come from nmbd/nmbd.c  */
 
 struct event_context *nmbd_event_context(void);
-struct messaging_context *nmbd_messaging_context(void);
 
 /* The following definitions come from nmbd/nmbd_become_dmb.c  */
 
@@ -264,7 +263,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,