docs: add minimal docblobs for status code and headers

Use a trick to avoid documenting all 100 enums.
This commit is contained in:
Stefan Kost 2011-05-23 23:51:15 +03:00
parent deeae48a03
commit 8ca5d1274b
2 changed files with 59 additions and 47 deletions

View file

@ -1392,6 +1392,7 @@ gst_rtp_buffer_list_add_extension_twobytes_header
<FILE>gstrtspdefs</FILE>
<INCLUDE>gst/rtsp/gstrtspdefs.h</INCLUDE>
GST_RTSP_CHECK
GST_RTSP_AUTH_MAX
GstRTSPEvent
GstRTSPResult
GstRTSPFamily
@ -1399,7 +1400,6 @@ GstRTSPState
GstRTSPVersion
GstRTSPMethod
GstRTSPAuthMethod
GST_RTSP_AUTH_MAX
GstRTSPHeaderField
GstRTSPStatusCode
gst_rtsp_strresult

View file

@ -225,7 +225,13 @@ typedef enum {
*/
#define GST_RTSP_AUTH_MAX GST_RTSP_AUTH_DIGEST
/**
* GstRTSPHeaderField:
*
* Enumeration of rtsp header fields.
*/
typedef enum {
/*< protected >*/
GST_RTSP_HDR_INVALID,
/*
@ -330,7 +336,13 @@ typedef enum {
GST_RTSP_HDR_LAST
} GstRTSPHeaderField;
/**
* GstRTSPStatusCode:
*
* Enumeration of rtsp status codes.
*/
typedef enum {
/*< protected >*/
GST_RTSP_STS_INVALID = 0,
GST_RTSP_STS_CONTINUE = 100,
GST_RTSP_STS_OK = 200,