diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-07-15 02:00:43 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-07-15 02:00:43 +0000 |
commit | 9364c40afd64846065c3cfe33a58477ec1422d86 (patch) | |
tree | c8b67b0577d04b96ba5149294821a5b8358a6530 /src/common/util.h | |
parent | c458f33ef1ec48357d008e44a3c03422ed1366ea (diff) | |
download | tor-9364c40afd64846065c3cfe33a58477ec1422d86.tar.gz tor-9364c40afd64846065c3cfe33a58477ec1422d86.zip |
Add generic expand_filename function to handle expanding ~/
svn:r2047
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index cfcfaafece..51a5440051 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -217,6 +217,7 @@ int check_private_dir(const char *dirname, int create); int write_str_to_file(const char *fname, const char *str); char *read_file_to_str(const char *filename); int parse_line_from_file(char *line, int maxlen, FILE *f, char **key_out, char **value_out); +char *expand_filename(const char *filename); int spawn_func(int (*func)(void *), void *data); void spawn_exit(); |