diff options
-rw-r--r-- | gst/tcp/gsttcp.h | 22 | ||||
-rw-r--r-- | gst/tcp/gsttcpplugin.h | 22 |
2 files changed, 28 insertions, 16 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__ */ diff --git a/gst/tcp/gsttcpplugin.h b/gst/tcp/gsttcpplugin.h index abfe7ff63..1a85d7a80 100644 --- a/gst/tcp/gsttcpplugin.h +++ b/gst/tcp/gsttcpplugin.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__ */ |