diff options
author | Roy Marples <roy@marples.name> | 2007-09-18 12:04:51 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-09-18 12:04:51 +0000 |
commit | 936dc943512289a2692aa12ff666f6dd06b00d86 (patch) | |
tree | fdfe2dea1fa722136419bec0ad3e2d08a14b691f /src/rc.h | |
parent | f1bba128929778c21168e84b8970f6623611dc6e (diff) |
API change! rc_ls_dir, rc_get_config and rc_get_list no longer take
a starting list as a first argument. Instead, use rc_strlist_join
to append or prepend the new list to an existing list.
Diffstat (limited to 'src/rc.h')
-rw-r--r-- | src/rc.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -182,13 +182,13 @@ bool rc_is_dir (const char *pathname); bool rc_is_exec (const char *pathname); #define RC_LS_INITD 0x01 -char **rc_ls_dir (char **list, const char *dir, int options); +char **rc_ls_dir (const char *dir, int options); bool rc_rm_dir (const char *pathname, bool top); /* Config file functions */ -char **rc_get_list (char **list, const char *file); -char **rc_get_config (char **list, const char *file); +char **rc_get_list (const char *file); +char **rc_get_config (const char *file); char *rc_get_config_entry (char **list, const char *entry); /* Make an environment list which filters out all unwanted values |