Compy 0.2.0
A lightweight RTSP 1.0 server library for embedded systems
Loading...
Searching...
No Matches
response_line.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <compy/priv/compiler_attrs.h>
9#include <compy/types/error.h>
13
14#include <stdbool.h>
15
16#include <slice99.h>
17
37
50 const Compy_ResponseLine *restrict self,
51 Compy_Writer w) COMPY_PRIV_MUST_USE;
52
58Compy_ParseResult Compy_ResponseLine_parse(
59 Compy_ResponseLine *restrict self, CharSlice99 input) COMPY_PRIV_MUST_USE;
60
68 const Compy_ResponseLine *restrict lhs,
69 const Compy_ResponseLine *restrict rhs) COMPY_PRIV_MUST_USE;
Possible parsing errors.
An RTSP reason phrase.
CharSlice99 Compy_ReasonPhrase
An RTSP reason phrase.
Definition reason_phrase.h:18
Compy_ParseResult Compy_ResponseLine_parse(Compy_ResponseLine *restrict self, CharSlice99 input) COMPY_PRIV_MUST_USE
Parses data to self.
Definition response_line.c:28
ssize_t Compy_ResponseLine_serialize(const Compy_ResponseLine *restrict self, Compy_Writer w) COMPY_PRIV_MUST_USE
Serialises self into w.
Definition response_line.c:10
bool Compy_ResponseLine_eq(const Compy_ResponseLine *restrict lhs, const Compy_ResponseLine *restrict rhs) COMPY_PRIV_MUST_USE
Tests lhs and rhs for equality.
Definition response_line.c:40
An RTSP version.
An RTSP status code.
uint16_t Compy_StatusCode
An RTSP status code.
Definition status_code.h:20
An RTSP response line.
Definition response_line.h:21
Compy_ReasonPhrase reason
The reason phrase.
Definition response_line.h:35
Compy_RtspVersion version
The RTSP version used.
Definition response_line.h:25
Compy_StatusCode code
The status code.
Definition response_line.h:30
An RTSP version.
Definition rtsp_version.h:20