validate: let structs_from_filename be exported.

Summary: It is useful for plugins too

Reviewers: Mathieu_Du

Differential Revision: http://phabricator.freedesktop.org/D74
This commit is contained in:
Mathieu Duponchelle 2015-01-17 22:21:16 +01:00 committed by Thibault Saunier
parent 0159c96ab0
commit 23bb7dfdcc
4 changed files with 4 additions and 4 deletions

View file

@ -307,7 +307,7 @@ static gboolean
_load_text_override_file (const gchar * filename) _load_text_override_file (const gchar * filename)
{ {
gint ret = OK; gint ret = OK;
GList *structs = structs_parse_from_filename (filename); GList *structs = gst_validate_utils_structs_parse_from_filename (filename);
if (structs) { if (structs) {
GList *tmp; GList *tmp;

View file

@ -1830,7 +1830,7 @@ _load_scenario_file (GstValidateScenario * scenario,
*is_config = FALSE; *is_config = FALSE;
structures = structs_parse_from_filename (scenario_file); structures = gst_validate_utils_structs_parse_from_filename (scenario_file);
if (structures == NULL) if (structures == NULL)
goto failed; goto failed;

View file

@ -633,7 +633,7 @@ failed:
} }
GList * GList *
structs_parse_from_filename (const gchar * scenario_file) gst_validate_utils_structs_parse_from_filename (const gchar * scenario_file)
{ {
gchar **lines; gchar **lines;

View file

@ -41,7 +41,7 @@ gboolean gst_validate_utils_enum_from_str (GType type,
const gchar * str_enum, const gchar * str_enum,
guint * enum_value); guint * enum_value);
GList * structs_parse_from_filename (const gchar * scenario_file); GList * gst_validate_utils_structs_parse_from_filename (const gchar * scenario_file);
GList * structs_parse_from_gfile (GFile * scenario_file); GList * structs_parse_from_gfile (GFile * scenario_file);
#endif #endif