X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fdiscovery.h;h=48571695c52756a2c475b4364bbf7c3a2d88571d;hb=4b6c01b1d5383b1a7417244a31ad4652aab2d5db;hp=0455d6ed1853617ef6f946086a5675c2b196dbea;hpb=43ed5b9a5d739c50317d5d24898de07526a9297f;p=meshlink diff --git a/src/discovery.h b/src/discovery.h index 0455d6ed..48571695 100644 --- a/src/discovery.h +++ b/src/discovery.h @@ -1,10 +1,28 @@ +#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 + + 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 -extern bool discovery_start(meshlink_handle_t *mesh); -extern void discovery_stop(meshlink_handle_t *mesh); +bool discovery_start(meshlink_handle_t *mesh); +void discovery_stop(meshlink_handle_t *mesh); #endif