Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/curl
File: easy.h
#ifndef __CURL_EASY_H
[0] Fix | Delete
#define __CURL_EASY_H
[1] Fix | Delete
/***************************************************************************
[2] Fix | Delete
* _ _ ____ _
[3] Fix | Delete
* Project ___| | | | _ \| |
[4] Fix | Delete
* / __| | | | |_) | |
[5] Fix | Delete
* | (__| |_| | _ <| |___
[6] Fix | Delete
* \___|\___/|_| \_\_____|
[7] Fix | Delete
*
[8] Fix | Delete
* Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
[9] Fix | Delete
*
[10] Fix | Delete
* This software is licensed as described in the file COPYING, which
[11] Fix | Delete
* you should have received as part of this distribution. The terms
[12] Fix | Delete
* are also available at https://curl.haxx.se/docs/copyright.html.
[13] Fix | Delete
*
[14] Fix | Delete
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
[15] Fix | Delete
* copies of the Software, and permit persons to whom the Software is
[16] Fix | Delete
* furnished to do so, under the terms of the COPYING file.
[17] Fix | Delete
*
[18] Fix | Delete
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
[19] Fix | Delete
* KIND, either express or implied.
[20] Fix | Delete
*
[21] Fix | Delete
***************************************************************************/
[22] Fix | Delete
#ifdef __cplusplus
[23] Fix | Delete
extern "C" {
[24] Fix | Delete
#endif
[25] Fix | Delete
[26] Fix | Delete
CURL_EXTERN CURL *curl_easy_init(void);
[27] Fix | Delete
CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...);
[28] Fix | Delete
CURL_EXTERN CURLcode curl_easy_perform(CURL *curl);
[29] Fix | Delete
CURL_EXTERN void curl_easy_cleanup(CURL *curl);
[30] Fix | Delete
[31] Fix | Delete
/*
[32] Fix | Delete
* NAME curl_easy_getinfo()
[33] Fix | Delete
*
[34] Fix | Delete
* DESCRIPTION
[35] Fix | Delete
*
[36] Fix | Delete
* Request internal information from the curl session with this function. The
[37] Fix | Delete
* third argument MUST be a pointer to a long, a pointer to a char * or a
[38] Fix | Delete
* pointer to a double (as the documentation describes elsewhere). The data
[39] Fix | Delete
* pointed to will be filled in accordingly and can be relied upon only if the
[40] Fix | Delete
* function returns CURLE_OK. This function is intended to get used *AFTER* a
[41] Fix | Delete
* performed transfer, all results from this function are undefined until the
[42] Fix | Delete
* transfer is completed.
[43] Fix | Delete
*/
[44] Fix | Delete
CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...);
[45] Fix | Delete
[46] Fix | Delete
[47] Fix | Delete
/*
[48] Fix | Delete
* NAME curl_easy_duphandle()
[49] Fix | Delete
*
[50] Fix | Delete
* DESCRIPTION
[51] Fix | Delete
*
[52] Fix | Delete
* Creates a new curl session handle with the same options set for the handle
[53] Fix | Delete
* passed in. Duplicating a handle could only be a matter of cloning data and
[54] Fix | Delete
* options, internal state info and things like persistent connections cannot
[55] Fix | Delete
* be transferred. It is useful in multithreaded applications when you can run
[56] Fix | Delete
* curl_easy_duphandle() for each new thread to avoid a series of identical
[57] Fix | Delete
* curl_easy_setopt() invokes in every thread.
[58] Fix | Delete
*/
[59] Fix | Delete
CURL_EXTERN CURL *curl_easy_duphandle(CURL *curl);
[60] Fix | Delete
[61] Fix | Delete
/*
[62] Fix | Delete
* NAME curl_easy_reset()
[63] Fix | Delete
*
[64] Fix | Delete
* DESCRIPTION
[65] Fix | Delete
*
[66] Fix | Delete
* Re-initializes a CURL handle to the default values. This puts back the
[67] Fix | Delete
* handle to the same state as it was in when it was just created.
[68] Fix | Delete
*
[69] Fix | Delete
* It does keep: live connections, the Session ID cache, the DNS cache and the
[70] Fix | Delete
* cookies.
[71] Fix | Delete
*/
[72] Fix | Delete
CURL_EXTERN void curl_easy_reset(CURL *curl);
[73] Fix | Delete
[74] Fix | Delete
/*
[75] Fix | Delete
* NAME curl_easy_recv()
[76] Fix | Delete
*
[77] Fix | Delete
* DESCRIPTION
[78] Fix | Delete
*
[79] Fix | Delete
* Receives data from the connected socket. Use after successful
[80] Fix | Delete
* curl_easy_perform() with CURLOPT_CONNECT_ONLY option.
[81] Fix | Delete
*/
[82] Fix | Delete
CURL_EXTERN CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen,
[83] Fix | Delete
size_t *n);
[84] Fix | Delete
[85] Fix | Delete
/*
[86] Fix | Delete
* NAME curl_easy_send()
[87] Fix | Delete
*
[88] Fix | Delete
* DESCRIPTION
[89] Fix | Delete
*
[90] Fix | Delete
* Sends data over the connected socket. Use after successful
[91] Fix | Delete
* curl_easy_perform() with CURLOPT_CONNECT_ONLY option.
[92] Fix | Delete
*/
[93] Fix | Delete
CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer,
[94] Fix | Delete
size_t buflen, size_t *n);
[95] Fix | Delete
[96] Fix | Delete
#ifdef __cplusplus
[97] Fix | Delete
}
[98] Fix | Delete
#endif
[99] Fix | Delete
[100] Fix | Delete
#endif
[101] Fix | Delete
[102] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function