summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstudp.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/udp/gstudp.h')
-rw-r--r--gst/udp/gstudp.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/gst/udp/gstudp.h b/gst/udp/gstudp.h
index 89103e93..f6879377 100644
--- a/gst/udp/gstudp.h
+++ b/gst/udp/gstudp.h
@@ -17,26 +17,23 @@
* Boston, MA 02111-1307, USA.
*/
+#include "gstudp-enumtypes.h"
+#include <glib.h>
#ifndef __GST_UDP_H__
#define __GST_UDP_H__
-#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+G_BEGIN_DECLS
- typedef enum
- {
- CONTROL_ZERO,
- CONTROL_NONE,
- CONTROL_UDP,
- CONTROL_TCP
- } Gst_UDP_Control;
+typedef enum
+{
+ CONTROL_ZERO,
+ CONTROL_NONE,
+ CONTROL_UDP,
+ CONTROL_TCP
+} GstUDPControl;
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GST_UDP_H__ */