Compy 0.2.0
A lightweight RTSP 1.0 server library for embedded systems
Loading...
Searching...
No Matches
reason_phrase.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>
10
11#include <stdbool.h>
12
13#include <slice99.h>
14
18typedef CharSlice99 Compy_ReasonPhrase;
19
25Compy_ParseResult Compy_ReasonPhrase_parse(
26 Compy_ReasonPhrase *restrict self, CharSlice99 data) COMPY_PRIV_MUST_USE;
27
35 const Compy_ReasonPhrase *restrict lhs,
36 const Compy_ReasonPhrase *restrict rhs) COMPY_PRIV_MUST_USE;
Possible parsing errors.
bool Compy_ReasonPhrase_eq(const Compy_ReasonPhrase *restrict lhs, const Compy_ReasonPhrase *restrict rhs) COMPY_PRIV_MUST_USE
Tests lhs and rhs for equality.
Definition reason_phrase.c:23
Compy_ParseResult Compy_ReasonPhrase_parse(Compy_ReasonPhrase *restrict self, CharSlice99 data) COMPY_PRIV_MUST_USE
Parses data to self.
Definition reason_phrase.c:8
CharSlice99 Compy_ReasonPhrase
An RTSP reason phrase.
Definition reason_phrase.h:18