#ifndef HEADER_CURL_TOOL_EASYSRC_H#define HEADER_CURL_TOOL_EASYSRC_H/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2012, 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 http://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. * ***************************************************************************/#include"tool_setup.h"#ifndef CURL_DISABLE_LIBCURL_OPTION/* global variable declarations, for easy-interface source code generation */externstructcurl_slist*easysrc_decl;/* Variable declarations */externstructcurl_slist*easysrc_data;/* Build slists, forms etc. */externstructcurl_slist*easysrc_code;/* Setopt calls etc. */externstructcurl_slist*easysrc_toohard;/* Unconvertible setopt */externstructcurl_slist*easysrc_clean;/* Clean up (reverse order) */externinteasysrc_form_count;/* Number of curl_httppost variables */externinteasysrc_slist_count;/* Number of curl_slist variables */externCURLcodeeasysrc_init(void);externCURLcodeeasysrc_add(structcurl_slist**plist,constchar*bupf);externCURLcodeeasysrc_addf(structcurl_slist**plist,constchar*fmt,...);externCURLcodeeasysrc_perform(void);externCURLcodeeasysrc_cleanup(void);voiddumpeasysrc(structConfigurable*config);#endif /* CURL_DISABLE_LIBCURL_OPTION */#endif /* HEADER_CURL_TOOL_EASYSRC_H */