summaryrefslogtreecommitdiffstats
path: root/src/options.def.h
diff options
context:
space:
mode:
authorRick Lei <ricklei@gmail.com>2015-01-14 15:11:43 +0100
committerRick Lei <ricklei@gmail.com>2015-01-14 15:11:43 +0100
commitc4378784ae2caec57634f9f04bcb3dcddc673f36 (patch)
tree70bbdb1c348803006a7cbf2092da65312720a386 /src/options.def.h
parent133cee578e04e561bb17e37393bbf7e427522560 (diff)
downloadfastd-c4378784ae2caec57634f9f04bcb3dcddc673f36.tar
fastd-c4378784ae2caec57634f9f04bcb3dcddc673f36.zip
Add Android 4.1+ support. See doc/README-Android.md for build HOWTO.
* Update CMake files to work with android-cmake * Use unix domain socket for communicating with Android GUI * May also run standalone but requires rooted Android device
Diffstat (limited to 'src/options.def.h')
-rw-r--r--src/options.def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/options.def.h b/src/options.def.h
index 9ea0476..6d0efca 100644
--- a/src/options.def.h
+++ b/src/options.def.h
@@ -38,6 +38,11 @@ OPTION(option_forward, "--forward", "Enables forwarding of packets between peers
SEPARATOR;
#endif
+#ifdef __ANDROID__
+OPTION(option_android_integration, "--android-integration", "Enable integration with Android GUI");
+SEPARATOR;
+#endif
+
#ifdef WITH_CMDLINE_COMMANDS
OPTION_ARG(option_on_pre_up, "--on-pre-up", "<command>", "Sets a shell command to execute before interface creation");
OPTION_ARG(option_on_up, "--on-up", "<command>", "Sets a shell command to execute after interface creation");