From 33e3e94e0cff075ec7d3364c4de73c154369ce06 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 9 Aug 2008 01:03:06 +0200 Subject: nmbd_packets: make queue_packet() public. Michael (This used to be commit 363eb90ce8380ce1bbc74673936ba1e6d7eee23b) --- source3/include/proto.h | 1 + source3/nmbd/nmbd_packets.c | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index dec48e8714..b5a1bfa56e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5637,6 +5637,7 @@ struct response_record *queue_node_status( struct subnet_record *subrec, void reply_netbios_packet(struct packet_struct *orig_packet, int rcode, enum netbios_reply_type_code rcv_code, int opcode, int ttl, char *data,int len); +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); diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index c1d373aa18..4b97819a14 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -28,8 +28,6 @@ extern int global_nmb_port; extern int num_response_packets; -static void queue_packet(struct packet_struct *packet); - bool rescan_listen_set = False; @@ -1004,7 +1002,7 @@ for id %hu\n", packet_type, nmb_namestr(&orig_nmb->question.question_name), Queue a packet into a packet queue ******************************************************************/ -static void queue_packet(struct packet_struct *packet) +void queue_packet(struct packet_struct *packet) { struct packet_struct *p; -- cgit