diff --git a/gst/gst_private.h b/gst/gst_private.h index d4cb1d1e34..6b9f3c9d87 100644 --- a/gst/gst_private.h +++ b/gst/gst_private.h @@ -85,58 +85,69 @@ struct _GstPluginPrivate { }; /* FIXME: could rename all priv_gst_* functions to __gst_* now */ -gboolean priv_gst_plugin_loading_have_whitelist (void); +G_GNUC_INTERNAL gboolean priv_gst_plugin_loading_have_whitelist (void); -guint32 priv_gst_plugin_loading_get_whitelist_hash (void); +G_GNUC_INTERNAL guint32 priv_gst_plugin_loading_get_whitelist_hash (void); -gboolean priv_gst_plugin_desc_is_whitelisted (GstPluginDesc * desc, - const gchar * filename); +G_GNUC_INTERNAL gboolean priv_gst_plugin_desc_is_whitelisted (GstPluginDesc * desc, + const gchar * filename); -gboolean _priv_plugin_deps_env_vars_changed (GstPlugin * plugin); -gboolean _priv_plugin_deps_files_changed (GstPlugin * plugin); +G_GNUC_INTERNAL gboolean _priv_plugin_deps_env_vars_changed (GstPlugin * plugin); -gboolean _priv_gst_in_valgrind (void); +G_GNUC_INTERNAL gboolean _priv_plugin_deps_files_changed (GstPlugin * plugin); + +G_GNUC_INTERNAL gboolean _priv_gst_in_valgrind (void); /* init functions called from gst_init(). */ -void _priv_gst_quarks_initialize (void); -void _priv_gst_mini_object_initialize (void); -void _priv_gst_buffer_initialize (void); -void _priv_gst_buffer_list_initialize (void); -void _priv_gst_structure_initialize (void); -void _priv_gst_caps_initialize (void); -void _priv_gst_event_initialize (void); -void _priv_gst_format_initialize (void); -void _priv_gst_message_initialize (void); -void _priv_gst_memory_initialize (void); -void _priv_gst_meta_initialize (void); -void _priv_gst_plugin_initialize (void); -void _priv_gst_query_initialize (void); -void _priv_gst_sample_initialize (void); -void _priv_gst_tag_initialize (void); -void _priv_gst_value_initialize (void); -void _priv_gst_debug_init (void); +G_GNUC_INTERNAL void _priv_gst_quarks_initialize (void); +G_GNUC_INTERNAL void _priv_gst_mini_object_initialize (void); +G_GNUC_INTERNAL void _priv_gst_buffer_initialize (void); +G_GNUC_INTERNAL void _priv_gst_buffer_list_initialize (void); +G_GNUC_INTERNAL void _priv_gst_structure_initialize (void); +G_GNUC_INTERNAL void _priv_gst_caps_initialize (void); +G_GNUC_INTERNAL void _priv_gst_event_initialize (void); +G_GNUC_INTERNAL void _priv_gst_format_initialize (void); +G_GNUC_INTERNAL void _priv_gst_message_initialize (void); +G_GNUC_INTERNAL void _priv_gst_memory_initialize (void); +G_GNUC_INTERNAL void _priv_gst_meta_initialize (void); +G_GNUC_INTERNAL void _priv_gst_plugin_initialize (void); +G_GNUC_INTERNAL void _priv_gst_query_initialize (void); +G_GNUC_INTERNAL void _priv_gst_sample_initialize (void); +G_GNUC_INTERNAL void _priv_gst_tag_initialize (void); +G_GNUC_INTERNAL void _priv_gst_value_initialize (void); +G_GNUC_INTERNAL void _priv_gst_debug_init (void); /* Private registry functions */ +G_GNUC_INTERNAL gboolean _priv_gst_registry_remove_cache_plugins (GstRegistry *registry); -void _priv_gst_registry_cleanup (void); + +G_GNUC_INTERNAL void _priv_gst_registry_cleanup (void); + gboolean _gst_plugin_loader_client_run (void); /* Used in GstBin for manual state handling */ -void _priv_gst_element_state_changed (GstElement *element, GstState oldstate, - GstState newstate, GstState pending); +G_GNUC_INTERNAL void _priv_gst_element_state_changed (GstElement *element, + GstState oldstate, GstState newstate, GstState pending); /* used in both gststructure.c and gstcaps.c; numbers are completely made up */ #define STRUCTURE_ESTIMATED_STRING_LEN(s) (16 + gst_structure_n_fields(s) * 22) +G_GNUC_INTERNAL gboolean priv_gst_structure_append_to_gstring (const GstStructure * structure, GString * s); /* registry cache backends */ +G_GNUC_INTERNAL gboolean priv_gst_registry_binary_read_cache (GstRegistry * registry, const char *location); + +G_GNUC_INTERNAL gboolean priv_gst_registry_binary_write_cache (GstRegistry * registry, GList * plugins, const char *location); + +G_GNUC_INTERNAL void __gst_element_factory_add_static_pad_template (GstElementFactory * elementfactory, GstStaticPadTemplate * templ); +G_GNUC_INTERNAL void __gst_element_factory_add_interface (GstElementFactory * elementfactory, const gchar * interfacename); @@ -146,8 +157,10 @@ void __gst_element_factory_add_interface (GstElementFactory * ((c) == '.')) /* This is only meant for internal uses */ +G_GNUC_INTERNAL gint __gst_date_time_compare (const GstDateTime * dt1, const GstDateTime * dt2); +G_GNUC_INTERNAL gchar * __gst_date_time_serialize (GstDateTime * datetime, gboolean with_usecs); #ifndef GST_DISABLE_REGISTRY diff --git a/gst/parse/types.h b/gst/parse/types.h index 3b2e4fd437..749803cdd8 100644 --- a/gst/parse/types.h +++ b/gst/parse/types.h @@ -44,12 +44,12 @@ struct _graph_t { #endif #ifdef __GST_PARSE_TRACE -gchar *__gst_parse_strdup (gchar *org); -void __gst_parse_strfree (gchar *str); -link_t *__gst_parse_link_new (); -void __gst_parse_link_free (link_t *data); -chain_t *__gst_parse_chain_new (); -void __gst_parse_chain_free (chain_t *data); +G_GNUC_INTERNAL gchar *__gst_parse_strdup (gchar *org); +G_GNUC_INTERNAL void __gst_parse_strfree (gchar *str); +G_GNUC_INTERNAL link_t *__gst_parse_link_new (); +G_GNUC_INTERNAL void __gst_parse_link_free (link_t *data); +G_GNUC_INTERNAL chain_t *__gst_parse_chain_new (); +G_GNUC_INTERNAL void __gst_parse_chain_free (chain_t *data); # define gst_parse_strdup __gst_parse_strdup # define gst_parse_strfree __gst_parse_strfree # define gst_parse_link_new __gst_parse_link_new @@ -95,7 +95,9 @@ gst_parse_unescape (gchar *str) *str = '\0'; } -GstElement *priv_gst_parse_launch (const gchar *, GError **, - GstParseContext *, GstParseFlags); +G_GNUC_INTERNAL GstElement *priv_gst_parse_launch (const gchar * str, + GError ** err, + GstParseContext * ctx, + GstParseFlags flags); #endif /* __GST_PARSE_TYPES_H__ */