source3/libsmb/nmblib.h: fix licence/copyright
authorGünther Deschner <gd@samba.org>
Fri, 10 Jun 2011 13:06:27 +0000 (15:06 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 18:15:22 +0000 (20:15 +0200)
Guenther
(cherry picked from commit 005930411ccbb2793023d2a4d29bdb536d822aba)

source3/libsmb/nmblib.h

index a6666a84c61b9efef5a2235ef409690c040dc2d3..d1e89f1609ffff5da353b06eac60d332f3fb2c26 100644 (file)
@@ -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_ */