|
Compy 0.2.0
A lightweight RTSP 1.0 server library for embedded systems
|
An RTSP message body. More...
#include <compy/priv/compiler_attrs.h>#include <compy/types/error.h>#include <stdbool.h>#include <stddef.h>#include <slice99.h>

Go to the source code of this file.
Typedefs | |
| typedef CharSlice99 | Compy_MessageBody |
| An RTSP message body. | |
Functions | |
| Compy_ParseResult | Compy_MessageBody_parse (Compy_MessageBody *restrict self, CharSlice99 input, size_t content_length) COMPY_PRIV_MUST_USE |
Parses data to self. | |
| Compy_MessageBody | Compy_MessageBody_empty (void) COMPY_PRIV_MUST_USE |
| Returns an empty message body. | |
| bool | Compy_MessageBody_eq (const Compy_MessageBody *restrict lhs, const Compy_MessageBody *restrict rhs) COMPY_PRIV_MUST_USE |
Tests lhs and rhs for equality. | |
An RTSP message body.
| bool Compy_MessageBody_eq | ( | const Compy_MessageBody *restrict | lhs, |
| const Compy_MessageBody *restrict | rhs | ||
| ) |
Tests lhs and rhs for equality.
lhs != NULL rhs != NULL | Compy_ParseResult Compy_MessageBody_parse | ( | Compy_MessageBody *restrict | self, |
| CharSlice99 | input, | ||
| size_t | content_length | ||
| ) |
Parses data to self.
self != NULL