|
Compy 0.2.0
A lightweight RTSP 1.0 server library for embedded systems
|
An RTSP response line. More...
#include <compy/priv/compiler_attrs.h>#include <compy/types/error.h>#include <compy/types/reason_phrase.h>#include <compy/types/rtsp_version.h>#include <compy/types/status_code.h>#include <stdbool.h>#include <slice99.h>

Go to the source code of this file.
Data Structures | |
| struct | Compy_ResponseLine |
| An RTSP response line. More... | |
Functions | |
| ssize_t | Compy_ResponseLine_serialize (const Compy_ResponseLine *restrict self, Compy_Writer w) COMPY_PRIV_MUST_USE |
Serialises self into w. | |
| Compy_ParseResult | Compy_ResponseLine_parse (Compy_ResponseLine *restrict self, CharSlice99 input) COMPY_PRIV_MUST_USE |
Parses data to self. | |
| bool | Compy_ResponseLine_eq (const Compy_ResponseLine *restrict lhs, const Compy_ResponseLine *restrict rhs) COMPY_PRIV_MUST_USE |
Tests lhs and rhs for equality. | |
An RTSP response line.
| bool Compy_ResponseLine_eq | ( | const Compy_ResponseLine *restrict | lhs, |
| const Compy_ResponseLine *restrict | rhs | ||
| ) |
Tests lhs and rhs for equality.
lhs != NULL rhs != NULL | Compy_ParseResult Compy_ResponseLine_parse | ( | Compy_ResponseLine *restrict | self, |
| CharSlice99 | input | ||
| ) |
Parses data to self.
self != NULL | ssize_t Compy_ResponseLine_serialize | ( | const Compy_ResponseLine *restrict | self, |
| Compy_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