aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal_common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-25 17:44:49 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-04-25 17:45:22 -0700
commitbf14668b2a831d583196d8c5d1f58c69eefa216e (patch)
tree97c1b2362922e83176756fd62cacb49b83ec4ec6 /env_universal_common.h
parenta475dd15e65759f2d20822cd3b19b874575c7f5e (diff)
Migrate machine and hostname identification from fishd.cpp to
env_universal_common.cpp, so that fish can use it
Diffstat (limited to 'env_universal_common.h')
-rw-r--r--env_universal_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/env_universal_common.h b/env_universal_common.h
index 100cbfc4..cc1ddf55 100644
--- a/env_universal_common.h
+++ b/env_universal_common.h
@@ -228,4 +228,7 @@ public:
void enqueue_all(connection_t *c) const;
};
+std::string get_machine_identifier();
+bool get_hostname_identifier(std::string *result);
+
#endif