SmolRTSP
0.1.3
A small, portable, extensible RTSP 1.0 implementation in C99
|
An RTSP message body. More...
#include <smolrtsp/priv/compiler_attrs.h>
#include <smolrtsp/types/error.h>
#include <stdbool.h>
#include <stddef.h>
#include <slice99.h>
Go to the source code of this file.
Typedefs | |
typedef CharSlice99 | SmolRTSP_MessageBody |
An RTSP message body. | |
Functions | |
SmolRTSP_ParseResult | SmolRTSP_MessageBody_parse (SmolRTSP_MessageBody *restrict self, CharSlice99 input, size_t content_length) SMOLRTSP_PRIV_MUST_USE |
Parses data to self . More... | |
SmolRTSP_MessageBody | SmolRTSP_MessageBody_empty (void) SMOLRTSP_PRIV_MUST_USE |
Returns an empty message body. | |
bool | SmolRTSP_MessageBody_eq (const SmolRTSP_MessageBody *restrict lhs, const SmolRTSP_MessageBody *restrict rhs) SMOLRTSP_PRIV_MUST_USE |
Tests lhs and rhs for equality. More... | |
An RTSP message body.
bool SmolRTSP_MessageBody_eq | ( | const SmolRTSP_MessageBody *restrict | lhs, |
const SmolRTSP_MessageBody *restrict | rhs | ||
) |
Tests lhs
and rhs
for equality.
lhs != NULL
rhs != NULL
SmolRTSP_ParseResult SmolRTSP_MessageBody_parse | ( | SmolRTSP_MessageBody *restrict | self, |
CharSlice99 | input, | ||
size_t | content_length | ||
) |
Parses data
to self
.
self != NULL