summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-10 14:23:31 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-10 14:23:31 +0000
commit8de9cfe184b0db2b8341776a9e78f21a6014267d (patch)
tree0fc98144bea1015b7842954c0d8a91fb03b45bb8 /src/common/compat.h
parent987cb2b93a6d5c670639c347535f289723b7d1dc (diff)
downloadtor-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.h3
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);