#ifndef HEADER_CURL_SLIST_WC_H1#define HEADER_CURL_SLIST_WC_H2/***************************************************************************3* _ _ ____ _4* Project ___| | | | _ \| |5* / __| | | | |_) | |6* | (__| |_| | _ <| |___7* \___|\___/|_| \_\_____|8*9* Copyright (C) Daniel Stenberg, <[email protected]>, et al.10*11* This software is licensed as described in the file COPYING, which12* you should have received as part of this distribution. The terms13* are also available at https://curl.se/docs/copyright.html.14*15* You may opt to use, copy, modify, merge, publish, distribute and/or sell16* copies of the Software, and permit persons to whom the Software is17* furnished to do so, under the terms of the COPYING file.18*19* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY20* KIND, either express or implied.21*22* SPDX-License-Identifier: curl23*24***************************************************************************/2526#include "tool_setup.h"27#ifndef CURL_DISABLE_LIBCURL_OPTION2829/* linked-list structure with last node cache for easysrc */30struct slist_wc {31struct curl_slist *first;32struct curl_slist *last;33};3435/*36* NAME curl_slist_wc_append()37*38* DESCRIPTION39*40* Appends a string to a linked list. If no list exists, it will be created41* first. Returns the new list, after appending.42*/43struct slist_wc *slist_wc_append(struct slist_wc *, const char *);4445/*46* NAME curl_slist_free_all()47*48* DESCRIPTION49*50* free a previously built curl_slist_wc.51*/52void slist_wc_free_all(struct slist_wc *);5354#endif /* CURL_DISABLE_LIBCURL_OPTION */5556#endif /* HEADER_CURL_SLIST_WC_H */575859