summaryrefslogtreecommitdiff
path: root/lib/setopt.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-10 17:45:54 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-11-10 23:08:20 +0100
commitaa7668b94815fd880faecaa4bc4a9ed59e07435c (patch)
treea93f9aff768a290b2b55e117c18dd214a71b825e /lib/setopt.h
parent2e850dafa55f0510565c3dd802d6e2179fde65b0 (diff)
downloadcurl-aa7668b94815fd880faecaa4bc4a9ed59e07435c.tar.gz
setopt: split out curl_easy_setopt() to its own file
... to make url.c smaller. Closes #1944
Diffstat (limited to 'lib/setopt.h')
-rw-r--r--lib/setopt.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/setopt.h b/lib/setopt.h
new file mode 100644
index 000000000..35769440f
--- /dev/null
+++ b/lib/setopt.h
@@ -0,0 +1,27 @@
+#ifndef HEADER_CURL_SETOPT_H
+#define HEADER_CURL_SETOPT_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2017, 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
+ * are also available at https://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+
+CURLcode Curl_setstropt(char **charp, const char *s);
+
+#endif /* HEADER_CURL_SETOPT_H */