diff options
author | Michael Adam <obnox@samba.org> | 2008-08-09 01:03:06 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-09 01:15:58 +0200 |
commit | 33e3e94e0cff075ec7d3364c4de73c154369ce06 (patch) | |
tree | cc2850006ecab4197cbf5f5818c5cbd68f87cbce /source3 | |
parent | bf291c95bceda9e8181999f3dc524589fd82814c (diff) | |
download | samba-33e3e94e0cff075ec7d3364c4de73c154369ce06.tar.gz samba-33e3e94e0cff075ec7d3364c4de73c154369ce06.tar.bz2 samba-33e3e94e0cff075ec7d3364c4de73c154369ce06.zip |
nmbd_packets: make queue_packet() public.
Michael
(This used to be commit 363eb90ce8380ce1bbc74673936ba1e6d7eee23b)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | 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; |