]> git.meshlink.io Git - meshlink/blobdiff - src/libmeshlink.h
Disabling calls to read_config_options. Makes no sense in libmeshlink reading command...
[meshlink] / src / libmeshlink.h
index 02a944840b3ab3d92c28605c20b4b950cd3d299a..2541b5f2888ea2242c863769aa2a4b3851971bcf 100644 (file)
 #include "names.h"
 //#include "tincctl.h"
 #include "xalloc.h"
+#include "logger.h"
 
 extern char *hosts_dir;
+extern FILE *fopenmask(const char *filename, const char *mode, mode_t perms);
 
 extern int check_port(char *name);
+
+bool tinc_main_thread(void * in);
+
 /* 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* tinc_conf, const char* name);
+bool tinc_setup(const char* confbase, const char* name);
 
 bool tinc_start(const char* path);