aboutsummaryrefslogtreecommitdiffstats
path: root/filters.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-06 18:42:07 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-06 18:42:07 +0000
commitb003633f3bc22bf99d9c1afcddb3b27ecffc9b30 (patch)
treeb9abb9f58ade6cc745c599f5954408e9ecc37071 /filters.h
parent23b2341a9ba84d042d409132019b9203ea597549 (diff)
"read_filter_list()" and "save_filter_list()" mallocate the path string
that they return through the "pref_path_return" argument; make it a "char **", as a pointer to a "char *" is passed to it, and the caller has to free that. svn path=/trunk/; revision=15249
Diffstat (limited to 'filters.h')
-rw-r--r--filters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/filters.h b/filters.h
index 239b775679..d059c8cc80 100644
--- a/filters.h
+++ b/filters.h
@@ -47,7 +47,7 @@ typedef struct {
* the file we tried to read - it should be freed by our caller -
* and "*errno_return" is set to the error.
*/
-void read_filter_list(filter_list_type_t list, const char **pref_path_return,
+void read_filter_list(filter_list_type_t list, char **pref_path_return,
int *errno_return);
/*
@@ -75,5 +75,5 @@ void remove_from_filter_list(filter_list_type_t list, GList *fl_entry);
* the file we tried to read - it should be freed by our caller -
* and "*errno_return" is set to the error.
*/
-void save_filter_list(filter_list_type_t list, const char **pref_path_return,
+void save_filter_list(filter_list_type_t list, char **pref_path_return,
int *errno_return);