libs: Export boxed type copy/free functions for the remaining types

This commit is contained in:
Sebastian Dröge 2017-06-20 10:06:01 +03:00
parent 7e94d2824f
commit 24fe473a01
6 changed files with 13 additions and 3 deletions

View file

@ -444,7 +444,7 @@ gst_install_plugins_context_free (GstInstallPluginsContext * ctx)
g_free (ctx); g_free (ctx);
} }
static GstInstallPluginsContext * GstInstallPluginsContext *
gst_install_plugins_context_copy (GstInstallPluginsContext * ctx) gst_install_plugins_context_copy (GstInstallPluginsContext * ctx)
{ {
GstInstallPluginsContext *ret; GstInstallPluginsContext *ret;

View file

@ -100,6 +100,8 @@ typedef struct _GstInstallPluginsContext GstInstallPluginsContext;
GST_EXPORT GST_EXPORT
GstInstallPluginsContext * gst_install_plugins_context_new (void); GstInstallPluginsContext * gst_install_plugins_context_new (void);
GST_EXPORT
GstInstallPluginsContext * gst_install_plugins_context_copy (GstInstallPluginsContext * ctx);
GST_EXPORT GST_EXPORT
void gst_install_plugins_context_free (GstInstallPluginsContext * ctx); void gst_install_plugins_context_free (GstInstallPluginsContext * ctx);

View file

@ -1214,7 +1214,7 @@ gst_rtsp_message_parse_auth_credentials (GstRTSPMessage * msg,
return (GstRTSPAuthCredential **) g_ptr_array_free (auth_credentials, FALSE); return (GstRTSPAuthCredential **) g_ptr_array_free (auth_credentials, FALSE);
} }
static GstRTSPAuthParam * GstRTSPAuthParam *
gst_rtsp_auth_param_copy (GstRTSPAuthParam * param) gst_rtsp_auth_param_copy (GstRTSPAuthParam * param)
{ {
GstRTSPAuthParam *copy; GstRTSPAuthParam *copy;
@ -1229,7 +1229,7 @@ gst_rtsp_auth_param_copy (GstRTSPAuthParam * param)
return copy; return copy;
} }
static void void
gst_rtsp_auth_param_free (GstRTSPAuthParam * param) gst_rtsp_auth_param_free (GstRTSPAuthParam * param)
{ {
if (param != NULL) { if (param != NULL) {

View file

@ -267,6 +267,11 @@ struct _GstRTSPAuthParam {
gchar *value; gchar *value;
}; };
GST_EXPORT
GstRTSPAuthParam * gst_rtsp_auth_param_copy (GstRTSPAuthParam * param);
GST_EXPORT
void gst_rtsp_auth_param_free (GstRTSPAuthParam * param);
GST_EXPORT GST_EXPORT
GstRTSPAuthCredential ** gst_rtsp_message_parse_auth_credentials (GstRTSPMessage * msg, GstRTSPHeaderField field); GstRTSPAuthCredential ** gst_rtsp_message_parse_auth_credentials (GstRTSPMessage * msg, GstRTSPHeaderField field);

View file

@ -139,6 +139,7 @@ EXPORTS
gst_encoding_video_profile_set_pass gst_encoding_video_profile_set_pass
gst_encoding_video_profile_set_variableframerate gst_encoding_video_profile_set_variableframerate
gst_install_plugins_async gst_install_plugins_async
gst_install_plugins_context_copy
gst_install_plugins_context_free gst_install_plugins_context_free
gst_install_plugins_context_get_type gst_install_plugins_context_get_type
gst_install_plugins_context_new gst_install_plugins_context_new

View file

@ -2,6 +2,8 @@ EXPORTS
gst_rtsp_auth_credential_get_type gst_rtsp_auth_credential_get_type
gst_rtsp_auth_credentials_free gst_rtsp_auth_credentials_free
gst_rtsp_auth_method_get_type gst_rtsp_auth_method_get_type
gst_rtsp_auth_param_copy
gst_rtsp_auth_param_free
gst_rtsp_auth_param_get_type gst_rtsp_auth_param_get_type
gst_rtsp_connection_accept gst_rtsp_connection_accept
gst_rtsp_connection_clear_auth_params gst_rtsp_connection_clear_auth_params