Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added HB_CURLINFOTYPE_* macros for debug block #297

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
This modification needs additional QT5 library Qt5Multimedia so I decided
to enable it conditionally by HB_QT_SOUND=yes environment variable.

2023-01-19 09:15 UTC+0100 Antonino Perricone
* contrib/hbcurl/hbcurl.ch
+ added HB_CURLINFOTYPE_* macros for debug block

2023-01-17 13:10 UTC-0300 Lailton Fernando Mariano (lailton/at/paysoft.com.br)
* include/hbsocket.h
* src/harbour.def
Expand Down
11 changes: 11 additions & 0 deletions contrib/hbcurl/hbcurl.ch
Original file line number Diff line number Diff line change
Expand Up @@ -558,4 +558,15 @@
#define HB_CURLE_FTP_BAD_FILE_LIST 87 /* unable to parse FTP file list */
#define HB_CURLE_CHUNK_FAILED 88 /* chunk callback reported error */

/* curl info . */

#define HB_CURLINFOTYPE_TEXT 0 /* The data is informational text. */
#define HB_CURLINFOTYPE_HEADER_IN 1 /* The data is header (or header-like) data received from the peer. */
#define HB_CURLINFOTYPE_HEADER_OUT 2 /* The data is header (or header-like) data sent to the peer. */
#define HB_CURLINFOTYPE_DATA_IN 3 /* The data is protocol data received from the peer. */
#define HB_CURLINFOTYPE_DATA_OUT 4 /* The data is protocol data sent to the peer. */
#define HB_CURLINFOTYPE_SSL_DATA_IN 5 /* The data is SSL/TLS (binary) data received from the peer. */
#define HB_CURLINFOTYPE_SSL_DATA_OUT 6 /* The data is SSL/TLS (binary) data sent to the peer. */
#define HB_CURLINFOTYPE_END 7 /* */

#endif /* HBCURL_CH_ */