SmolRTSP  0.1.3
A small, portable, extensible RTSP 1.0 implementation in C99
request_uri.h File Reference

An RTSP request URI. More...

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

Go to the source code of this file.

Typedefs

typedef CharSlice99 SmolRTSP_RequestUri
 An RTSP request URI.
 

Functions

SmolRTSP_ParseResult SmolRTSP_RequestUri_parse (SmolRTSP_RequestUri *restrict self, CharSlice99 input) SMOLRTSP_PRIV_MUST_USE
 Parses data to self. More...
 
bool SmolRTSP_RequestUri_eq (const SmolRTSP_RequestUri *restrict lhs, const SmolRTSP_RequestUri *restrict rhs) SMOLRTSP_PRIV_MUST_USE
 Tests lhs and rhs for equality. More...
 

Detailed Description

An RTSP request URI.

Function Documentation

◆ SmolRTSP_RequestUri_eq()

bool SmolRTSP_RequestUri_eq ( const SmolRTSP_RequestUri *restrict  lhs,
const SmolRTSP_RequestUri *restrict  rhs 
)

Tests lhs and rhs for equality.

Precondition
lhs != NULL
rhs != NULL

◆ SmolRTSP_RequestUri_parse()

SmolRTSP_ParseResult SmolRTSP_RequestUri_parse ( SmolRTSP_RequestUri *restrict  self,
CharSlice99  input 
)

Parses data to self.

Precondition
self != NULL