SmolRTSP
0.1.3
A small, portable, extensible RTSP 1.0 implementation in C99
|
An RTSP status code. More...
#include <smolrtsp/priv/compiler_attrs.h>
#include <smolrtsp/types/error.h>
#include <smolrtsp/writer.h>
#include <stdbool.h>
#include <stdint.h>
#include <slice99.h>
Go to the source code of this file.
Typedefs | |
typedef uint16_t | SmolRTSP_StatusCode |
An RTSP status code. | |
Functions | |
ssize_t | SmolRTSP_StatusCode_serialize (const SmolRTSP_StatusCode *restrict self, SmolRTSP_Writer w) SMOLRTSP_PRIV_MUST_USE |
Serialises self into w . More... | |
SmolRTSP_ParseResult | SmolRTSP_StatusCode_parse (SmolRTSP_StatusCode *restrict self, CharSlice99 input) SMOLRTSP_PRIV_MUST_USE |
Parses data to self . | |
bool | SmolRTSP_StatusCode_eq (const SmolRTSP_StatusCode *restrict lhs, const SmolRTSP_StatusCode *restrict rhs) SMOLRTSP_PRIV_MUST_USE |
Tests lhs and rhs for equality. More... | |
An RTSP status code.
bool SmolRTSP_StatusCode_eq | ( | const SmolRTSP_StatusCode *restrict | lhs, |
const SmolRTSP_StatusCode *restrict | rhs | ||
) |
Tests lhs
and rhs
for equality.
lhs != NULL
rhs != NULL
ssize_t SmolRTSP_StatusCode_serialize | ( | const SmolRTSP_StatusCode *restrict | self, |
SmolRTSP_Writer | w | ||
) |
Serialises self
into w
.
[in] | self | The instance to be serialised. |
[in] | w | The writer to be provided with serialised data. |
self != NULL
w.self && w.vptr