8 #include <smolrtsp/priv/compiler_attrs.h>
26 SmolRTSP_Method *restrict
self, CharSlice99 input) SMOLRTSP_PRIV_MUST_USE;
41 #define SMOLRTSP_METHOD_OPTIONS (CharSlice99_from_str("OPTIONS"))
46 #define SMOLRTSP_METHOD_DESCRIBE (CharSlice99_from_str("DESCRIBE"))
51 #define SMOLRTSP_METHOD_ANNOUNCE (CharSlice99_from_str("ANNOUNCE"))
56 #define SMOLRTSP_METHOD_SETUP (CharSlice99_from_str("SETUP"))
61 #define SMOLRTSP_METHOD_PLAY (CharSlice99_from_str("PLAY"))
66 #define SMOLRTSP_METHOD_PAUSE (CharSlice99_from_str("PAUSE"))
71 #define SMOLRTSP_METHOD_TEARDOWN (CharSlice99_from_str("TEARDOWN"))
76 #define SMOLRTSP_METHOD_GET_PARAMETER (CharSlice99_from_str("GET_PARAMETER"))
81 #define SMOLRTSP_METHOD_SET_PARAMETER (CharSlice99_from_str("SET_PARAMETER"))
86 #define SMOLRTSP_METHOD_REDIRECT (CharSlice99_from_str("REDIRECT"))
91 #define SMOLRTSP_METHOD_RECORD (CharSlice99_from_str("RECORD"))
bool SmolRTSP_Method_eq(const SmolRTSP_Method *restrict lhs, const SmolRTSP_Method *restrict rhs) SMOLRTSP_PRIV_MUST_USE
Tests lhs and rhs for equality.
CharSlice99 SmolRTSP_Method
An RTSP method.
Definition: method.h:18
SmolRTSP_ParseResult SmolRTSP_Method_parse(SmolRTSP_Method *restrict self, CharSlice99 input) SMOLRTSP_PRIV_MUST_USE
Parses data to self.