comparison rtsp.h @ 1870:22f6839eb478 libavformat

Convert macro+enum into a simple enum: Currently the enum was filled using a macro that also contained a description for every field, but, that description was not being used anywhere. This changes it, to make the description available as a Doxygen comment. Furthermore, it is now easily parsable by Doxygen, while before it messed up the documentation.
author takis
date Mon, 05 Mar 2007 13:52:14 +0000
parents 0899bfe4105c
children 50ad5902d797
comparison
equal deleted inserted replaced
1869:48b1d0b70e09 1870:22f6839eb478
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 #ifndef RTSP_H 21 #ifndef RTSP_H
22 #define RTSP_H 22 #define RTSP_H
23 23
24 /* RTSP handling */
25 enum RTSPStatusCode {
26 #define DEF(n, c, s) c = n,
27 #include "rtspcodes.h" 24 #include "rtspcodes.h"
28 #undef DEF
29 };
30 25
31 enum RTSPProtocol { 26 enum RTSPProtocol {
32 RTSP_PROTOCOL_RTP_UDP = 0, 27 RTSP_PROTOCOL_RTP_UDP = 0,
33 RTSP_PROTOCOL_RTP_TCP = 1, 28 RTSP_PROTOCOL_RTP_TCP = 1,
34 RTSP_PROTOCOL_RTP_UDP_MULTICAST = 2, 29 RTSP_PROTOCOL_RTP_UDP_MULTICAST = 2,