]> git.meshlink.io Git - meshlink/blobdiff - src/libmeshlink.h
Update readme
[meshlink] / src / libmeshlink.h
index d5263c9cde413d3ca457238fac24a5aab7b5fbef..02a944840b3ab3d92c28605c20b4b950cd3d299a 100644 (file)
 
 #include "system.h"
 #include "node.h"
+#include "names.h"
+//#include "tincctl.h"
+#include "xalloc.h"
 
+extern char *hosts_dir;
+
+extern int check_port(char *name);
 /* OLD: tinc_configuration_t provides all information required to setup "/etc/tinc"
 I think tinc_setup() should basically do what cmd_init() from src/tincctl.c does, except it doesn't have to generate a tinc-up script.
 */
-bool tinc_setup(const char* path);
+bool tinc_setup(const char* tinc_conf, const char* name);
 
 bool tinc_start(const char* path);