libs: Export boxed type copy/free functions for the remaining types
authorSebastian Dröge <sebastian@centricular.com>
Tue, 20 Jun 2017 07:06:01 +0000 (10:06 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 20 Jun 2017 07:10:06 +0000 (10:10 +0300)
gst-libs/gst/pbutils/install-plugins.c
gst-libs/gst/pbutils/install-plugins.h
gst-libs/gst/rtsp/gstrtspmessage.c
gst-libs/gst/rtsp/gstrtspmessage.h
win32/common/libgstpbutils.def
win32/common/libgstrtsp.def

index d3eb368..785aac5 100644 (file)
@@ -444,7 +444,7 @@ gst_install_plugins_context_free (GstInstallPluginsContext * ctx)
   g_free (ctx);
 }
 
-static GstInstallPluginsContext *
+GstInstallPluginsContext *
 gst_install_plugins_context_copy (GstInstallPluginsContext * ctx)
 {
   GstInstallPluginsContext *ret;
index a749349..d310e66 100644 (file)
@@ -99,6 +99,7 @@ typedef struct _GstInstallPluginsContext GstInstallPluginsContext;
 
 GstInstallPluginsContext * gst_install_plugins_context_new (void);
 
+GstInstallPluginsContext * gst_install_plugins_context_copy (GstInstallPluginsContext * ctx);
 void   gst_install_plugins_context_free    (GstInstallPluginsContext * ctx);
 
 void   gst_install_plugins_context_set_confirm_search (GstInstallPluginsContext * ctx,
index 1ff3b10..c91a5e6 100644 (file)
@@ -1214,7 +1214,7 @@ gst_rtsp_message_parse_auth_credentials (GstRTSPMessage * msg,
   return (GstRTSPAuthCredential **) g_ptr_array_free (auth_credentials, FALSE);
 }
 
-static GstRTSPAuthParam *
+GstRTSPAuthParam *
 gst_rtsp_auth_param_copy (GstRTSPAuthParam * param)
 {
   GstRTSPAuthParam *copy;
@@ -1229,7 +1229,7 @@ gst_rtsp_auth_param_copy (GstRTSPAuthParam * param)
   return copy;
 }
 
-static void
+void
 gst_rtsp_auth_param_free (GstRTSPAuthParam * param)
 {
   if (param != NULL) {
index d6c5c67..8e623d3 100644 (file)
@@ -218,6 +218,9 @@ struct _GstRTSPAuthParam {
   gchar *value;
 };
 
+GstRTSPAuthParam *       gst_rtsp_auth_param_copy (GstRTSPAuthParam * param);
+void                     gst_rtsp_auth_param_free (GstRTSPAuthParam * param);
+
 GstRTSPAuthCredential ** gst_rtsp_message_parse_auth_credentials (GstRTSPMessage * msg, GstRTSPHeaderField field);
 void                     gst_rtsp_auth_credentials_free (GstRTSPAuthCredential ** credentials);
 
index 6fceeb1..bc0c1e0 100644 (file)
@@ -139,6 +139,7 @@ EXPORTS
        gst_encoding_video_profile_set_pass
        gst_encoding_video_profile_set_variableframerate
        gst_install_plugins_async
+       gst_install_plugins_context_copy
        gst_install_plugins_context_free
        gst_install_plugins_context_get_type
        gst_install_plugins_context_new
index 1d0be24..07a2d94 100644 (file)
@@ -2,6 +2,8 @@ EXPORTS
        gst_rtsp_auth_credential_get_type
        gst_rtsp_auth_credentials_free
        gst_rtsp_auth_method_get_type
+       gst_rtsp_auth_param_copy
+       gst_rtsp_auth_param_free
        gst_rtsp_auth_param_get_type
        gst_rtsp_connection_accept
        gst_rtsp_connection_clear_auth_params