tool_operhlp.h revision e6cd738ed3716c02557fb3a47515244e949ade39
102fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project#ifndef HEADER_CURL_TOOL_OPERHLP_H 202fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project#define HEADER_CURL_TOOL_OPERHLP_H 302fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project/*************************************************************************** 402fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * _ _ ____ _ 502fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * Project ___| | | | _ \| | 602fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * / __| | | | |_) | | 702fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * | (__| |_| | _ <| |___ 802fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * \___|\___/|_| \_\_____| 902fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * 1002fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. 1102fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * 1202fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * This software is licensed as described in the file COPYING, which 1302fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * you should have received as part of this distribution. The terms 1402fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * are also available at http://curl.haxx.se/docs/copyright.html. 1502fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * 1602fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * You may opt to use, copy, modify, merge, publish, distribute and/or sell 1702fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * copies of the Software, and permit persons to whom the Software is 1802fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * furnished to do so, under the terms of the COPYING file. 1902fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * 2002fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 2102fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * KIND, either express or implied. 2202fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project * 2302fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project ***************************************************************************/ 2402fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project#include "tool_setup.h" 2502fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project 2602fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Projectstruct OperationConfig; 2702fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project 2802fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Projectvoid clean_getout(struct OperationConfig *config); 2902fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project 3002fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Projectbool output_expected(const char *url, const char *uploadfile); 3102fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project 3202fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Projectbool stdin_upload(const char *uploadfile); 3302fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project 3402fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Projectchar *add_file_name_to_url(CURL *curl, char *url, const char *filename); 3502fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project 3602fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source ProjectCURLcode get_url_file_name(char **filename, const char *url); 3702fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project 3802fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project#endif /* HEADER_CURL_TOOL_OPERHLP_H */ 3902fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project 4002fb0aca1189a2c1fd20806c588e9ee80d9755f8The Android Open Source Project