diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-21 05:04:58 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-21 05:04:58 +0200 |
commit | f239ac39ab80c2279d5b9ce42b58f8d6a1833780 (patch) | |
tree | 811bf50ab75d619893f72cbd3fc4edc8cfe435ae /src/mds-server.h | |
parent | add missing include (diff) | |
download | mds-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.h | 10 |
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 |