summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-06-24 19:02:37 +0000
committerLuke Leighton <lkcl@samba.org>1999-06-24 19:02:37 +0000
commitf63e8070488e079c899cde90e8452796f3af4e5f (patch)
tree71911f988b79d2a019f04d50d082df58c55ee0c9 /source3/include
parentcae3620b2e8abbe35f0369a82d5461cb596475a3 (diff)
downloadsamba-f63e8070488e079c899cde90e8452796f3af4e5f.tar.gz
samba-f63e8070488e079c899cde90e8452796f3af4e5f.tar.bz2
samba-f63e8070488e079c899cde90e8452796f3af4e5f.zip
safe string version of nmb_namestr.
(This used to be commit 250621b3cec5fc463d348432d1d0ff5fb59e7a29)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
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);