summaryrefslogtreecommitdiff
path: root/gst/tcp/gsttcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/tcp/gsttcp.h')
-rw-r--r--gst/tcp/gsttcp.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/gst/tcp/gsttcp.h b/gst/tcp/gsttcp.h
index abfe7ff63..1a85d7a80 100644
--- a/gst/tcp/gsttcp.h
+++ b/gst/tcp/gsttcp.h
@@ -22,13 +22,19 @@
#define __GST_TCP_H__
#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+extern "C"
+{
+#endif /* __cplusplus */
+
+ typedef enum
+ {
+ CONTROL_ZERO,
+ CONTROL_NONE,
+ CONTROL_TCP
+ } Gst_TCP_Control;
-typedef enum {
- CONTROL_ZERO,
- CONTROL_NONE,
- CONTROL_TCP
-} Gst_TCP_Control;
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
-#endif
+#endif /* __GST_TCP_H__ */