SmolRTSP  0.1.3
A small, portable, extensible RTSP 1.0 implementation in C99
request_uri.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <smolrtsp/priv/compiler_attrs.h>
9 #include <smolrtsp/types/error.h>
10 
11 #include <stdbool.h>
12 
13 #include <slice99.h>
14 
18 typedef CharSlice99 SmolRTSP_RequestUri;
19 
25 SmolRTSP_ParseResult SmolRTSP_RequestUri_parse(
26  SmolRTSP_RequestUri *restrict self,
27  CharSlice99 input) SMOLRTSP_PRIV_MUST_USE;
28 
36  const SmolRTSP_RequestUri *restrict lhs,
37  const SmolRTSP_RequestUri *restrict rhs) SMOLRTSP_PRIV_MUST_USE;
Possible parsing errors.
SmolRTSP_ParseResult SmolRTSP_RequestUri_parse(SmolRTSP_RequestUri *restrict self, CharSlice99 input) SMOLRTSP_PRIV_MUST_USE
Parses data to self.
CharSlice99 SmolRTSP_RequestUri
An RTSP request URI.
Definition: request_uri.h:18
bool SmolRTSP_RequestUri_eq(const SmolRTSP_RequestUri *restrict lhs, const SmolRTSP_RequestUri *restrict rhs) SMOLRTSP_PRIV_MUST_USE
Tests lhs and rhs for equality.