8 #include <smolrtsp/priv/compiler_attrs.h>
35 SmolRTSP_Writer w) SMOLRTSP_PRIV_MUST_USE;
42 CharSlice99 input) SMOLRTSP_PRIV_MUST_USE;
57 #define SMOLRTSP_STATUS_CONTINUE 100
62 #define SMOLRTSP_STATUS_OK 200
67 #define SMOLRTSP_STATUS_CREATED 201
72 #define SMOLRTSP_STATUS_LOW_ON_STORAGE_SPACE 250
77 #define SMOLRTSP_STATUS_MULTIPLE_CHOICES 300
82 #define SMOLRTSP_STATUS_MOVED_PERMANENTLY 301
87 #define SMOLRTSP_STATUS_MOVED_TEMPORARILY 302
92 #define SMOLRTSP_STATUS_SEE_OTHER 303
97 #define SMOLRTSP_STATUS_NOT_MODIFIED 304
102 #define SMOLRTSP_STATUS_USE_PROXY 305
107 #define SMOLRTSP_STATUS_BAD_REQUEST 400
112 #define SMOLRTSP_STATUS_UNAUTHORIZED 401
117 #define SMOLRTSP_STATUS_PAYMENT_REQUIRED 402
122 #define SMOLRTSP_STATUS_FORBIDDEN 403
127 #define SMOLRTSP_STATUS_NOT_FOUND 404
132 #define SMOLRTSP_STATUS_METHOD_NOT_ALLOWED 405
137 #define SMOLRTSP_STATUS_NOT_ACCEPTABLE 406
142 #define SMOLRTSP_STATUS_PROXY_AUTHENTICATION_REQUIRED 407
147 #define SMOLRTSP_STATUS_REQUEST_TIMEOUT 408
152 #define SMOLRTSP_STATUS_GONE 410
157 #define SMOLRTSP_STATUS_LENGTH_REQUIRED 411
162 #define SMOLRTSP_STATUS_PRECONDITION_FAILED 412
167 #define SMOLRTSP_STATUS_REQUEST_ENTITY_TOO_LARGE 413
172 #define SMOLRTSP_STATUS_REQUEST_URI_TOO_LARGE 414
177 #define SMOLRTSP_STATUS_UNSUPPORTED_MEDIA_TYPE 415
182 #define SMOLRTSP_STATUS_PARAMETER_NOT_UNDERSTOOD 451
187 #define SMOLRTSP_STATUS_CONFERENCE_NOT_FOUND 452
192 #define SMOLRTSP_STATUS_NOT_ENOUGH_BANDWIDTH 453
197 #define SMOLRTSP_STATUS_SESSION_NOT_FOUND 454
202 #define SMOLRTSP_STATUS_METHOD_NOT_VALID_IN_THIS_STATE 455
207 #define SMOLRTSP_STATUS_HEADER_FIELD_NOT_VALID_FOR_RESOURCE 456
212 #define SMOLRTSP_STATUS_INVALID_RANGE 457
217 #define SMOLRTSP_STATUS_PARAMETER_IS_READ_ONLY 458
222 #define SMOLRTSP_STATUS_AGGREGATE_OPERATION_NOT_ALLOWED 459
227 #define SMOLRTSP_STATUS_ONLY_AGGREGATE_OPERATION_ALLOWED 460
232 #define SMOLRTSP_STATUS_UNSUPPORTED_TRANSPORT 461
237 #define SMOLRTSP_STATUS_DESTINATION_UNREACHABLE 462
242 #define SMOLRTSP_STATUS_INTERNAL_SERVER_ERROR 500
247 #define SMOLRTSP_STATUS_NOT_IMPLEMENTED 501
252 #define SMOLRTSP_STATUS_BAD_GATEWAY 502
257 #define SMOLRTSP_STATUS_SERVICE_UNAVAILABLE 503
262 #define SMOLRTSP_STATUS_GATEWAY_TIMEOUT 504
267 #define SMOLRTSP_STATUS_RTSP_VERSION_NOT_SUPPORTED 505
272 #define SMOLRTSP_STATUS_OPTION_NOT_SUPPORTED 551
bool SmolRTSP_StatusCode_eq(const SmolRTSP_StatusCode *restrict lhs, const SmolRTSP_StatusCode *restrict rhs) SMOLRTSP_PRIV_MUST_USE
Tests lhs and rhs for equality.
SmolRTSP_ParseResult SmolRTSP_StatusCode_parse(SmolRTSP_StatusCode *restrict self, CharSlice99 input) SMOLRTSP_PRIV_MUST_USE
Parses data to self.
uint16_t SmolRTSP_StatusCode
An RTSP status code.
Definition: status_code.h:20
ssize_t SmolRTSP_StatusCode_serialize(const SmolRTSP_StatusCode *restrict self, SmolRTSP_Writer w) SMOLRTSP_PRIV_MUST_USE
Serialises self into w.