| 173 | * multi interface. |
| 174 | */ |
| 175 | class curl_message { |
| 176 | public: |
| 177 | /** |
| 178 | * The attributes will be initialized with constructors parameters. With |
| 179 | * this constructor we provide a fast way to build this kind of object. |
| 180 | */ |
| 181 | explicit curl_message(const CURLMsg *, const curl_easy *); |
| 182 | /** |
| 183 | * Inline getter method used to return |
| 184 | * the message for a single handler. |
| 185 | */ |
| 186 | CURLMSG get_message() const; |
| 187 | /** |
| 188 | * Inline getter method used to return |
| 189 | * the code for a single handler. |
| 190 | */ |
| 191 | CURLcode get_code() const; |
| 192 | /** |
| 193 | * Inline getter method used to return |
| 194 | * other data. |
| 195 | */ |
| 196 | const void *get_other() const; |
| 197 | /** |
| 198 | * Returns the handler to the easy interface. |
| 199 | */ |
| 200 | const curl_easy *get_handler() const; |
| 201 | private: |
| 202 | const CURLMSG message; |
| 203 | const void *whatever; |
| 204 | const CURLcode code; |
| 205 | const curl_easy *handler; |
| 206 | }; |
| 207 | |
| 208 | /** |
| 209 | * Simple default constructor. It is used to give a |
nothing calls this directly
no outgoing calls
no test coverage detected