summaryrefslogtreecommitdiff
path: root/src/ratpoison.h
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-03-04 02:44:15 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-03-04 02:44:15 +0100
commitc51dd419f9d40facf516558510704891c0cf66b6 (patch)
treec25a9fc19be6332c66cdb800c94e31200eac6f64 /src/ratpoison.h
parentf010d26cbad242f2a98c2d67e5100bdf9387addb (diff)
downloadratpoison-c51dd419f9d40facf516558510704891c0cf66b6.zip
get_homedir(), checks HOME and the password database
* ensures that the resulting home directory isn't the empty string (else returns NULL)
Diffstat (limited to 'src/ratpoison.h')
-rw-r--r--src/ratpoison.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ratpoison.h b/src/ratpoison.h
index 2c829ef..5ff7c44 100644
--- a/src/ratpoison.h
+++ b/src/ratpoison.h
@@ -85,6 +85,7 @@ void clean_up (void);
rp_screen *find_screen (Window w);
void set_close_on_exec (int fd);
+const char *get_homedir (void);
void read_rc_file (FILE *file);
void fatal (const char *msg);