Changeset 944 for trunk/zoo-project/zoo-kernel/ulinet.h
- Timestamp:
- Jul 10, 2019, 2:38:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/ulinet.h
r921 r944 75 75 */ 76 76 typedef struct { 77 long code; //!< the last received response code 78 int hasCacheFile; //!< 1 if we used a cache file 79 int id; //!< The position of the element in the queue 80 size_t nDataLen; //!< the length of the downloaded content 81 size_t nDataAlloc; //!< 77 82 CURL *handle; //!< the CURL handler 78 83 struct curl_slist *header; //!< the headers to send … … 84 89 char *post; //!< the potential POST XML content 85 90 char* cookie; //!< The potential Cookie returned by the server 86 int hasCacheFile; //!< 1 if we used a cache file87 int nDataLen; //!< the length of the downloaded content88 int nDataAlloc; //!<89 long code; //!< the last received response code90 int id; //!< The position of the element in the queue91 91 } _HINTERNET; 92 92 … … 95 95 */ 96 96 typedef struct { 97 int nb; //!< number of element in the queue 97 98 CURLM *handle; //!< the CURLM handler 98 99 _HINTERNET ihandle[MAX_REQ]; //!< individual handlers in the queue 99 100 char *waitingRequests[MAX_REQ]; //!< request in the queue 100 101 char *agent; //!< The User-Agent to use for HTTP request 101 int nb; //!< number of element in the queue102 102 } HINTERNET; 103 103
Note: See TracChangeset
for help on using the changeset viewer.