From: Michael Adam Date: Fri, 8 Aug 2008 23:03:06 +0000 (+0200) Subject: nmbd_packets: make queue_packet() public. X-Git-Tag: samba-3.3.0pre1~256 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=363eb90ce8380ce1bbc74673936ba1e6d7eee23b;p=thirdparty%2Fsamba.git nmbd_packets: make queue_packet() public. Michael --- diff --git a/source/include/proto.h b/source/include/proto.h index dec48e87145..b5a1bfa56e9 100644 --- a/source/include/proto.h +++ b/source/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/source/nmbd/nmbd_packets.c b/source/nmbd/nmbd_packets.c index c1d373aa189..4b97819a141 100644 --- a/source/nmbd/nmbd_packets.c +++ b/source/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;