nmbd_packets: make queue_packet() public.
authorMichael Adam <obnox@samba.org>
Fri, 8 Aug 2008 23:03:06 +0000 (01:03 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 8 Aug 2008 23:15:58 +0000 (01:15 +0200)
Michael

source/include/proto.h
source/nmbd/nmbd_packets.c

index dec48e8714530cabe965a4342b92761be80dce3e..b5a1bfa56e940e1e34133cc7b00d2125bdf9c5d7 100644 (file)
@@ -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);
index c1d373aa189038af44a036c8eb70b70381138ba4..4b97819a14183a03ef4d72f92b6f5b561f364b67 100644 (file)
@@ -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;