From aa7668b94815fd880faecaa4bc4a9ed59e07435c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 10 Nov 2017 17:45:54 +0100 Subject: setopt: split out curl_easy_setopt() to its own file ... to make url.c smaller. Closes #1944 --- lib/setopt.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/setopt.h (limited to 'lib/setopt.h') 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, , 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 */ -- cgit v1.2.3