Lines Matching refs:to
45 *part* is the part's to assign contents to.
47 *readfunc* is a pointer to a data read callback function, with a signature
48 as shown by the above prototype. It may not be set to NULL.
50 *seekfunc* is a pointer to a seek callback function, with a signature as
52 after a redirect); this pointer may be set to NULL, in which case a resend
55 *freefunc* is a pointer to a user resource freeing callback function, with
56 a signature as shown by the above prototype. If no resource is to be freed, it
57 may safely be set to NULL. This function is called upon mime structure
60 *arg* is a user defined argument to callback functions.
62 The read callback function gets called by libcurl as soon as it needs to
63 read data in order to send it to the peer - like if you ask it to upload or
64 post data to the server. The data area pointed at by the pointer *buffer*
69 in that memory area. Returning 0 signals end-of-file to the library and cause
70 it to stop the current transfer.
73 the server expected it, like when you have said you intend to upload N bytes
77 The read callback may return *CURL_READFUNC_ABORT* to stop the current
81 The callback can return *CURL_READFUNC_PAUSE* to cause reading from this
82 connection to pause. See curl_easy_pause(3) for further details.
84 The seek function gets called by libcurl to rewind input stream data or to
85 seek to a certain position. The function shall work like fseek(3) or lseek(3)
90 *CURL_SEEKFUNC_FAIL* to cause the upload operation to fail or
91 *CURL_SEEKFUNC_CANTSEEK* to indicate that while the seek failed, libcurl
92 is free to work around the problem if possible. The latter can sometimes be
95 Care must be taken if the part is bound to a curl easy handle that is later
97 the pointed item to be shared between the original and the copied handle. In
98 particular, special attention should be given to the *freefunc* procedure
105 Sending a huge data string causes the same amount of memory to be allocated:
106 to avoid overhead resources consumption, one might want to use a callback
107 source to avoid data duplication. In this case, original data must be retained