aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-18 14:18:22 +0000
committerRoy Marples <roy@marples.name>2007-09-18 14:18:22 +0000
commit9587d71df3c50b26e8e09a74c6d884a965dafafa (patch)
tree4f61bfc6efc0d0ff42af5403672c4f661c74dd56 /src
parent90c2291cac93f156f14877ac4d63d20e6b939ae0 (diff)
Clarify strlist_join behaviour
Diffstat (limited to 'src')
-rw-r--r--src/rc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc.h b/src/rc.h
index 8bb8a4f3..b43d2d29 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -203,6 +203,8 @@ char *rc_strlist_addsort (char ***list, const char *item);
char *rc_strlist_addsortc (char ***list, const char *item);
char *rc_strlist_addsortu (char ***list, const char *item);
int rc_strlist_delete (char ***list, const char *item);
+/* rc_strlist_list_join does a shallow copy of list2 onto list1
+ * and then frees the pointer for list2 (but not the contents) */
int rc_strlist_join (char ***list1, char **list2);
void rc_strlist_reverse (char **list);
void rc_strlist_free (char **list);