From f63e8070488e079c899cde90e8452796f3af4e5f Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 24 Jun 1999 19:02:37 +0000 Subject: safe string version of nmb_namestr. (This used to be commit 250621b3cec5fc463d348432d1d0ff5fb59e7a29) --- source3/include/proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index cca2a6be79..361eda72b5 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -722,6 +722,7 @@ BOOL find_master_ip(char *group, struct in_addr *master_ip); void debug_nmb_packet(struct packet_struct *p); char *nmb_namestr(struct nmb_name *n); +void nmb_safe_namestr(struct nmb_name *n, char *str, size_t len); struct packet_struct *copy_packet(struct packet_struct *packet); void free_packet(struct packet_struct *packet); struct packet_struct *read_packet(int fd,enum packet_type packet_type); -- cgit