|
8 | 8 | #define IRODS_MS_PLUGIN_CURL_HPP_
|
9 | 9 |
|
10 | 10 | // =-=-=-=-=-=-=-
|
11 |
| -#include "apiHeaderAll.h" |
12 |
| -#include "msParam.h" |
| 11 | +#include "apiHeaderAll.hpp" |
| 12 | +#include "msParam.hpp" |
| 13 | +#include "reGlobalsExtern.hpp" |
13 | 14 | #include "irods_ms_plugin.hpp"
|
14 | 15 | #include "irods_server_api_call.hpp"
|
15 | 16 | #include "microservice.hpp"
|
|
33 | 34 | #define IRODS_CURL_DATA_KW "data"
|
34 | 35 | #define IRODS_CURL_HEADERS_KW "headers"
|
35 | 36 |
|
| 37 | +#define IRODS_CURL_TIMEOUT_MS_KW "timeout" |
36 | 38 |
|
37 | 39 | // Input struct for curl write callback function.
|
38 | 40 | // Does not go over the wire as far as iRODS is concerned.
|
@@ -76,13 +78,12 @@ class irodsCurl {
|
76 | 78 |
|
77 | 79 | irods::error get_str( char*, char** );
|
78 | 80 |
|
79 |
| - irods::error del( char*, char** ); |
| 81 | + irods::error del( char*, keyValPair_t*, char** ); |
80 | 82 |
|
81 |
| - irods::error put( char*, keyValPair_t*, char** ); |
| 83 | + irods::error put( char*, keyValPair_t*, keyValPair_t*, char** ); |
82 | 84 |
|
83 | 85 | irods::error post( char*, keyValPair_t*, char** );
|
84 | 86 |
|
85 |
| - |
86 | 87 | // Callback progress function for the curl handler
|
87 | 88 | static int progress( void*, double, double, double, double );
|
88 | 89 |
|
|
0 commit comments