diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-05-14 15:03:44 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-05-14 15:03:44 +0800 |
commit | a73b903df923a9659e97b14e2befac56de1a70e4 (patch) | |
tree | 2942e88b8641e52c45d663e0cb2e0ddf2723e037 /env_universal_common.h | |
parent | 30cfb3e795de6e38a52f7c589c661c5cb07f3da2 (diff) |
Null notifier to support fishd synchronization, so we can select the
synchronization mechanism at runtime
Diffstat (limited to 'env_universal_common.h')
-rw-r--r-- | env_universal_common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/env_universal_common.h b/env_universal_common.h index a3307e5c..c4eda46b 100644 --- a/env_universal_common.h +++ b/env_universal_common.h @@ -302,7 +302,10 @@ public: strategy_inotify, // Strategy that uses notify(3). Simple and efficient, but OS X only. - strategy_notifyd + strategy_notifyd, + + // Null notifier, does nothing + strategy_null }; protected: @@ -343,6 +346,9 @@ public: std::string get_machine_identifier(); bool get_hostname_identifier(std::string *result); +/* Temporary */ +bool synchronizes_via_fishd(); + /* Environment variable for requesting a particular universal notifier. See fetch_default_strategy_from_environment for names. */ #define UNIVERSAL_NOTIFIER_ENV_NAME "fish_universal_notifier" |