summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-06-10 15:06:27 +0200
committerGünther Deschner <gd@samba.org>2011-06-10 15:12:31 +0200
commit005930411ccbb2793023d2a4d29bdb536d822aba (patch)
tree0fbd8d5e09c06379934081ea1dc54dce3d242f8a /source3
parent81b5d8538a00181af814e98af83718ef5f413868 (diff)
downloadsamba-005930411ccbb2793023d2a4d29bdb536d822aba.tar.gz
source3/libsmb/nmblib.h: fix licence/copyright
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/nmblib.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/source3/libsmb/nmblib.h b/source3/libsmb/nmblib.h
index a64f5818e0a..d8290dc0765 100644
--- a/source3/libsmb/nmblib.h
+++ b/source3/libsmb/nmblib.h
@@ -1,3 +1,28 @@
+/*
+ Unix SMB/CIFS implementation.
+ handle unexpected packets
+ NBT netbios library routines
+ Copyright (C) Andrew Tridgell 1994-1998, 2000
+ Copyright (C) Jeremy Allison 2007
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+#ifndef _LIBSMB_NMBLIB_H_
+#define _LIBSMB_NMBLIB_H_
+
/* The following definitions come from libsmb/unexpected.c */
#include "nameserv.h"
@@ -47,3 +72,5 @@ void sort_query_replies(char *data, int n, struct in_addr ip);
char *name_mangle(TALLOC_CTX *mem_ctx, const char *In, char name_type);
int name_extract(unsigned char *buf,size_t buf_len, unsigned int ofs, fstring name);
int name_len(unsigned char *s1, size_t buf_len);
+
+#endif /* _LIBSMB_NMBLIB_H_ */