You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Donat Zenichev
fd44b75421
MT#60408 ModCurl: Switch from deprecated form of API
Switch to using of the mime API, since the previous
form of the API has been deprecated since 7.56.0 ver.
Fixes:
09: 01:02 ModCurl.cpp: In function 'bool curl_run_post(DSMSession*, const std::string&, const std::string&, bool)':
09: 01:02 ModCurl.cpp:384:18: warning: 'CURLFORM_COPYNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations]
09: 01:02 384 | CURLFORM_COPYNAME, varname.c_str(),
09: 01:02 | ^~~~~~~~~~~~~~~~~
09: 01:02 In file included from ModCurl.cpp:34:
09: 01:02 /usr/include/x86_64-linux-gnu/curl/curl.h:2500:3: note: declared here
09: 01:02 2500 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
09: 01:02 | ^~~~~~~~~~~~~~~~~
09: 01:02 ModCurl.cpp:385:18: warning: 'CURLFORM_COPYCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations]
09: 01:02 385 | CURLFORM_COPYCONTENTS, sc_sess->var[varname].c_str(), CURLFORM_END);
09: 01:02 | ^~~~~~~~~~~~~~~~~~~~~
09: 01:02 /usr/include/x86_64-linux-gnu/curl/curl.h:2503:3: note: declared here
09: 01:02 2503 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
09: 01:02 | ^~~~~~~~~~~~~~~~~~~~~
09: 01:02 ModCurl.cpp:383:17: warning: 'CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, ...)' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations]
09: 01:02 383 | curl_formadd(&post, &last,
09: 01:02 | ~~~~~~~~~~~~^~~~~~~~~~~~~~
09: 01:02 384 | CURLFORM_COPYNAME, varname.c_str(),
09: 01:02 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
09: 01:02 385 | CURLFORM_COPYCONTENTS, sc_sess->var[varname].c_str(), CURLFORM_END);
09: 01:02 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
09: 01:02 /usr/include/x86_64-linux-gnu/curl/curl.h:2575:1: note: declared here
09: 01:02 2575 | curl_formadd(struct curl_httppost **httppost,
09: 01:02 | ^~~~~~~~~~~~
09: 01:02 ModCurl.cpp:400:16: warning: 'void curl_formfree(curl_httppost*)' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations]
09: 01:02 400 | curl_formfree(post);
09: 01:02 | ~~~~~~~~~~~~~^~~~~~
09: 01:02 /usr/include/x86_64-linux-gnu/curl/curl.h:2611:1: note: declared here
09: 01:02 2611 | curl_formfree(struct curl_httppost *form);
09: 01:02 | ^~~~~~~~~~~~~
Change-Id: I3de731461f69044f18c688c2794dec824e18bc74
|
2 years ago |
| .. |
|
etc
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
fsmc
|
The DonkeySM: easy application development by state machine definitions
|
18 years ago |
|
lib
|
fixed default DSM examples to pass consistency check
|
15 years ago |
|
mods
|
MT#60408 ModCurl: Switch from deprecated form of API
|
2 years ago |
|
CMakeLists.txt
|
Simplify doc-files installation
|
16 years ago |
|
DSM.cpp
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
DSM.h
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
DSMCall.cpp
|
MT#57429 compiler can assume that the address of 'req' will never be NULL
|
3 years ago |
|
DSMCall.h
|
MT#57391 sems (CE): eliminate the `auto_ptr` usage (deprecated in C++11)
|
3 years ago |
|
DSMChartReader.cpp
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
DSMChartReader.h
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
DSMCoreModule.cpp
|
Imported Upstream version 1.6.0~20150612~a2d214df36
|
11 years ago |
|
DSMCoreModule.h
|
MT#55831 dsm: helper functions / macros for modules:
|
4 years ago |
|
DSMElemContainer.cpp
|
DSM: parsing of "else", if conditions without []
|
16 years ago |
|
DSMElemContainer.h
|
DSM: parsing of "else", if conditions without []
|
16 years ago |
|
DSMModule.cpp
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
DSMModule.h
|
Imported Upstream version 1.6.0~20140516~eaa616
|
12 years ago |
|
DSMSession.cpp
|
MT#57391 sems (CE): eliminate the `auto_ptr` usage (deprecated in C++11)
|
3 years ago |
|
DSMSession.h
|
MT#57391 sems (CE): eliminate the `auto_ptr` usage (deprecated in C++11)
|
3 years ago |
|
DSMStateDiagramCollection.cpp
|
Imported Upstream version 1.6.0~20150612~a2d214df36
|
11 years ago |
|
DSMStateDiagramCollection.h
|
added OpenSSL linking exception to license
|
16 years ago |
|
DSMStateEngine.cpp
|
Imported Upstream version 1.6.0~20150612~a2d214df36
|
11 years ago |
|
DSMStateEngine.h
|
Imported Upstream version 1.6.0~20150612~a2d214df36
|
11 years ago |
|
Makefile
|
MT#55831 Revamp the build system
|
4 years ago |
|
SystemDSM.cpp
|
Imported Upstream version 1.6.0~20150612~a2d214df36
|
11 years ago |
|
SystemDSM.h
|
Imported Upstream version 1.6.0~20150612~a2d214df36
|
11 years ago |