]> git.meshlink.io Git - meshlink/blobdiff - src/discovery.h
Avoid allocating packet buffers unnecessarily.
[meshlink] / src / discovery.h
index 0455d6ed1853617ef6f946086a5675c2b196dbea..bd034a80068bd4dba697c0402a827813a0aac5e0 100644 (file)
@@ -1,6 +1,24 @@
+#ifndef MESHLINK_DISCOVERY_H
+#define MESHLINK_DISCOVERY_H
 
-#ifndef __MESHLINK_DISCOVERY_H__
-#define __MESHLINK_DISCOVERY_H__
+/*
+    discovery.h -- header for discovery.c
+    Copyright (C) 2014, 2017 Guus Sliepen <guus@meshlink.io>
+
+    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 2 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, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
 
 #include <stdbool.h>