diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-07-26 13:03:13 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-07-26 13:03:13 +0000 |
commit | 86d19dcfa04879c863a1248851cd7854b68242cb (patch) | |
tree | 50cb20d295196a6728e25231ec82947b4475b3e2 /common/textfile.h | |
parent | ab767dcf7cf79a3411a5199b97b42e97ef80dbfc (diff) |
Add a paramter for the path to create_name()
Diffstat (limited to 'common/textfile.h')
-rw-r--r-- | common/textfile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/textfile.h b/common/textfile.h index 21aa023d..74e67eca 100644 --- a/common/textfile.h +++ b/common/textfile.h @@ -26,7 +26,8 @@ int create_dirs(const char *filename, const mode_t mode); int create_file(const char *filename, const mode_t mode); -int create_name(char *buf, size_t size, char *address, char *name); +int create_name(char *buf, size_t size, const char *path, + const char *address, const char *name); int textfile_put(const char *pathname, const char *key, const char *value); int textfile_del(const char *pathname, const char *key); |