diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-10 14:23:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-10 14:23:31 +0000 |
commit | 8de9cfe184b0db2b8341776a9e78f21a6014267d (patch) | |
tree | 0fc98144bea1015b7842954c0d8a91fb03b45bb8 /src/common/compat.h | |
parent | 987cb2b93a6d5c670639c347535f289723b7d1dc (diff) | |
download | tor-8de9cfe184b0db2b8341776a9e78f21a6014267d.tar.gz tor-8de9cfe184b0db2b8341776a9e78f21a6014267d.zip |
Resolve FIXME items: make expand_filename handle ~ and ~username
svn:r2789
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index a3b136ab63..32dc7e1725 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -164,6 +164,9 @@ void set_uint32(char *cp, uint32_t v); int set_max_file_descriptors(unsigned int required_min); int switch_id(char *user, char *group); +#ifdef HAVE_PWD_H +char *get_user_homedir(const char *username); +#endif int spawn_func(int (*func)(void *), void *data); void spawn_exit(void); |