|
httpmessage
0.4.0
HTTP message parsing library
|
Preprocessor macro definitions. More...

Go to the source code of this file.
Macros | |
| #define | HMAPI |
| C API exposition macro. | |
| #define | HTTPMESSAGE_C_BEGIN |
| Begin extern C block. | |
| #define | HTTPMESSAGE_C_END |
| End exter C block. | |
| #define | HTTPMESSAGE_TEXT_WRITE_FILE(_written, _file, _text, _length) |
| Write content to file. More... | |
| #define | HTTPMESSAGE_PRINTF_FILE(_written, _file, ...) |
| Write content to a file using *printf functions. More... | |
| #define | HTTPMESSAGE_STRING_WRITE_FILE(_written, _file, _string) HTTPMESSAGE_TEXT_WRITE_FILE(_written, _file, (_string).text, (_string).length) |
| Write string view content to file. | |
| #define | HTTPMESSAGE_TEXT_WRITE_BUFFER(_output, _output_size, _text, _length) |
| Write arbitrary text to a buffer. update I/O buffer pointer and length. More... | |
| #define | HTTPMESSAGE_PRINTF_BUFFER(_output, _output_size, ...) |
| Format a text and write it to a buffer. update I/O buffer pointer and length. More... | |
| #define | HTTPMESSAGE_STRING_WRITE_BUFFER(_output, _output_size, _string) HTTPMESSAGE_TEXT_WRITE_BUFFER(_output, _output_size, (_string).text, (_string).length) |
Preprocessor macro definitions.
| #define HTTPMESSAGE_PRINTF_BUFFER | ( | _output, | |
| _output_size, | |||
| ... | |||
| ) |
Format a text and write it to a buffer. update I/O buffer pointer and length.
| #define HTTPMESSAGE_PRINTF_FILE | ( | _written, | |
| _file, | |||
| ... | |||
| ) |
Write content to a file using *printf functions.
| #define HTTPMESSAGE_STRING_WRITE_BUFFER | ( | _output, | |
| _output_size, | |||
| _string | |||
| ) | HTTPMESSAGE_TEXT_WRITE_BUFFER(_output, _output_size, (_string).text, (_string).length) |
Copy a string view to a buffer.
| #define HTTPMESSAGE_TEXT_WRITE_BUFFER | ( | _output, | |
| _output_size, | |||
| _text, | |||
| _length | |||
| ) |
Write arbitrary text to a buffer. update I/O buffer pointer and length.
1.8.13