summaryrefslogtreecommitdiff
path: root/attic/ZeroTierUI/mac_doprivileged.h
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-14 13:56:28 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-14 13:56:28 -0700
commit1cfa67bbdd4242a52484f13f3533babb4d4c07a6 (patch)
treed772b3b7cc40371afaa494c4e623511133e0e33e /attic/ZeroTierUI/mac_doprivileged.h
parenta2605561af19d7de7ed492d1faf00d7ff161c6ea (diff)
downloadinfinitytier-1cfa67bbdd4242a52484f13f3533babb4d4c07a6.tar.gz
infinitytier-1cfa67bbdd4242a52484f13f3533babb4d4c07a6.zip
Bunch more control plane work, and shelve old UI -- React FTW.
Diffstat (limited to 'attic/ZeroTierUI/mac_doprivileged.h')
-rw-r--r--attic/ZeroTierUI/mac_doprivileged.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/attic/ZeroTierUI/mac_doprivileged.h b/attic/ZeroTierUI/mac_doprivileged.h
new file mode 100644
index 00000000..52fba922
--- /dev/null
+++ b/attic/ZeroTierUI/mac_doprivileged.h
@@ -0,0 +1,12 @@
+#ifndef mac_doprivileged_h
+#define mac_doprivileged_h
+
+#ifdef __APPLE__
+
+// commandAndArgs can contain only single-tic quotes and should redirect its
+// stdout and stderr somewhere...
+bool macExecutePrivilegedShellCommand(const char *commandAndArgs);
+
+#endif
+
+#endif