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.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/gst/udp/gstudp.h b/gst/udp/gstudp.h
index b069453b..89103e93 100644
--- a/gst/udp/gstudp.h
+++ b/gst/udp/gstudp.h
@@ -22,14 +22,21 @@
#define __GST_UDP_H__
#ifdef __cplusplus
-extern "C" {
+extern "C"
+{
+#endif /* __cplusplus */
+
+ typedef enum
+ {
+ CONTROL_ZERO,
+ CONTROL_NONE,
+ CONTROL_UDP,
+ CONTROL_TCP
+ } Gst_UDP_Control;
+
+#ifdef __cplusplus
+}
#endif /* __cplusplus */
-typedef enum {
- CONTROL_ZERO,
- CONTROL_NONE,
- CONTROL_UDP,
- CONTROL_TCP
-} Gst_UDP_Control;
+#endif /* __GST_UDP_H__ */
-#endif