Compy 0.2.0
A lightweight RTSP 1.0 server library for embedded systems
Loading...
Searching...
No Matches
reason_phrase.h File Reference

An RTSP reason phrase. More...

#include <compy/priv/compiler_attrs.h>
#include <compy/types/error.h>
#include <stdbool.h>
#include <slice99.h>
Include dependency graph for reason_phrase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef CharSlice99 Compy_ReasonPhrase
 An RTSP reason phrase.
 

Functions

Compy_ParseResult Compy_ReasonPhrase_parse (Compy_ReasonPhrase *restrict self, CharSlice99 data) COMPY_PRIV_MUST_USE
 Parses data to self.
 
bool Compy_ReasonPhrase_eq (const Compy_ReasonPhrase *restrict lhs, const Compy_ReasonPhrase *restrict rhs) COMPY_PRIV_MUST_USE
 Tests lhs and rhs for equality.
 

Detailed Description

An RTSP reason phrase.

Function Documentation

◆ Compy_ReasonPhrase_eq()

bool Compy_ReasonPhrase_eq ( const Compy_ReasonPhrase *restrict  lhs,
const Compy_ReasonPhrase *restrict  rhs 
)

Tests lhs and rhs for equality.

Precondition
lhs != NULL
rhs != NULL

◆ Compy_ReasonPhrase_parse()

Compy_ParseResult Compy_ReasonPhrase_parse ( Compy_ReasonPhrase *restrict  self,
CharSlice99  data 
)

Parses data to self.

Precondition
self != NULL