aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-21 05:04:58 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-21 05:04:58 +0200
commitf239ac39ab80c2279d5b9ce42b58f8d6a1833780 (patch)
tree811bf50ab75d619893f72cbd3fc4edc8cfe435ae /src/mds-server.h
parentadd missing include (diff)
downloadmds-f239ac39ab80c2279d5b9ce42b58f8d6a1833780.tar.gz
mds-f239ac39ab80c2279d5b9ce42b58f8d6a1833780.tar.bz2
mds-f239ac39ab80c2279d5b9ce42b58f8d6a1833780.tar.xz
run mdsinitrc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-server.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mds-server.h b/src/mds-server.h
index 4b558dd..c27498a 100644
--- a/src/mds-server.h
+++ b/src/mds-server.h
@@ -18,5 +18,15 @@
#ifndef MDS_MDS_SERVER_H
#define MDS_MDS_SERVER_H
+
+/**
+ * Read an environment variable, but handle it as undefined if empty
+ *
+ * @param var The environment variable's name
+ * @return The environment variable's value, `NULL` if empty or not defined
+ */
+char* getenv_nonempty(const char* var);
+
+
#endif