aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-18 12:04:51 +0000
committerRoy Marples <roy@marples.name>2007-09-18 12:04:51 +0000
commit936dc943512289a2692aa12ff666f6dd06b00d86 (patch)
treefdfe2dea1fa722136419bec0ad3e2d08a14b691f /src/rc.h
parentf1bba128929778c21168e84b8970f6623611dc6e (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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc.h b/src/rc.h
index 9a8fec8f..6357e720 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -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