summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/curl/lib/slist.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/curl/lib/slist.h')
-rw-r--r--plugins/FTPFileYM/curl/lib/slist.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/curl/lib/slist.h b/plugins/FTPFileYM/curl/lib/slist.h
index aede1f0418..ea7dcc48b6 100644
--- a/plugins/FTPFileYM/curl/lib/slist.h
+++ b/plugins/FTPFileYM/curl/lib/slist.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -29,5 +29,12 @@
*/
struct curl_slist *Curl_slist_duplicate(struct curl_slist *inlist);
+/*
+ * Curl_slist_append_nodup() takes ownership of the given string and appends
+ * it to the list.
+ */
+struct curl_slist *Curl_slist_append_nodup(struct curl_slist *list,
+ char *data);
+
#endif /* HEADER_CURL_SLIST_H */