]> git.meshlink.io Git - meshlink/blobdiff - src/discovery.h
Never automatically try to bind to ports >= 32768.
[meshlink] / src / discovery.h
index bd034a80068bd4dba697c0402a827813a0aac5e0..03c431207a1569996e44f04fa4b4724f48ba5b6b 100644 (file)
@@ -3,7 +3,7 @@
 
 /*
     discovery.h -- header for discovery.c
-    Copyright (C) 2014, 2017 Guus Sliepen <guus@meshlink.io>
+    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