]> git.meshlink.io Git - meshlink/blobdiff - src/discovery.h
Never automatically try to bind to ports >= 32768.
[meshlink] / src / discovery.h
index 055aa9deb483cb856bfb6db1fafe6bf0bac91cb7..03c431207a1569996e44f04fa4b4724f48ba5b6b 100644 (file)
@@ -2,8 +2,8 @@
 #define MESHLINK_DISCOVERY_H
 
 /*
-    discovery.h -- header for dicovery.c
-    Copyright (C) 2014, 2017 Guus Sliepen <guus@meshlink.io>
+    discovery.h -- header for discovery.c
+    Copyright (C) 2014-2021 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
@@ -22,7 +22,9 @@
 
 #include <stdbool.h>
 
-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);
+void discovery_refresh(meshlink_handle_t *mesh);
+void scan_ifaddrs(meshlink_handle_t *mesh);
 
 #endif