SmolRTSP 0.1.3
A small, portable, extensible RTSP 1.0 implementation in C99
Loading...
Searching...
No Matches
reason_phrase.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <smolrtsp/priv/compiler_attrs.h>
10
11#include <stdbool.h>
12
13#include <slice99.h>
14
18typedef CharSlice99 SmolRTSP_ReasonPhrase;
19
25SmolRTSP_ParseResult SmolRTSP_ReasonPhrase_parse(
26 SmolRTSP_ReasonPhrase *restrict self,
27 CharSlice99 data) SMOLRTSP_PRIV_MUST_USE;
28
36 const SmolRTSP_ReasonPhrase *restrict lhs,
37 const SmolRTSP_ReasonPhrase *restrict rhs) SMOLRTSP_PRIV_MUST_USE;
Possible parsing errors.
CharSlice99 SmolRTSP_ReasonPhrase
An RTSP reason phrase.
Definition reason_phrase.h:18
bool SmolRTSP_ReasonPhrase_eq(const SmolRTSP_ReasonPhrase *restrict lhs, const SmolRTSP_ReasonPhrase *restrict rhs) SMOLRTSP_PRIV_MUST_USE
Tests lhs and rhs for equality.
SmolRTSP_ParseResult SmolRTSP_ReasonPhrase_parse(SmolRTSP_ReasonPhrase *restrict self, CharSlice99 data) SMOLRTSP_PRIV_MUST_USE
Parses data to self.