#include <strings.h>
#include <sys/types.h>
#include <sys/stat.h>
+
+#ifndef _WIN32
#include <linux/limits.h>
+#endif
#include "../src/meshlink.h"
#include "../src/devtools.h"
exportmeshgraph(name);
}
+#ifndef _WIN32
static bool exportmeshgraph_started = false;
static bool exportmeshgraph_end(const char* none)
return true;
}
+#else
+static bool exportmeshgraph_end(const char* none)
+{
+ return false;
+}
+
+static bool exportmeshgraph_begin(const char* timeout_str)
+{
+ return false;
+}
+#endif
static void parse_command(char *buf) {
char *arg = strchr(buf, ' ');
mesh = calloc(n, sizeof *mesh);
meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_message);
+#ifndef _WIN32
mkdir(basebase, 0750);
+#else
+ mkdir(basebase);
+#endif
char filename[PATH_MAX];
char nodename[100];