return (inst_add_file (inst, file));
} /* }}} int graph_add_file */
-int gl_graph_get_title (graph_config_t *cfg, /* {{{ */
+int graph_get_title (graph_config_t *cfg, /* {{{ */
char *buffer, size_t buffer_size)
{
if ((cfg == NULL) || (buffer == NULL) || (buffer_size < 1))
buffer[buffer_size - 1] = 0;
return (0);
-} /* }}} int gl_graph_get_title */
+} /* }}} int graph_get_title */
-graph_ident_t *gl_graph_get_selector (graph_config_t *cfg) /* {{{ */
+graph_ident_t *graph_get_selector (graph_config_t *cfg) /* {{{ */
{
if (cfg == NULL)
return (NULL);
return (ident_clone (cfg->select));
-} /* }}} graph_ident_t *gl_graph_get_selector */
+} /* }}} graph_ident_t *graph_get_selector */
-graph_instance_t *gl_graph_get_instances (graph_config_t *cfg) /* {{{ */
+graph_instance_t *graph_get_instances (graph_config_t *cfg) /* {{{ */
{
if (cfg == NULL)
return (NULL);
return (cfg->instances);
-} /* }}} graph_instance_t *gl_graph_get_instances */
+} /* }}} graph_instance_t *graph_get_instances */
-graph_def_t *gl_graph_get_defs (graph_config_t *cfg) /* {{{ */
+graph_def_t *graph_get_defs (graph_config_t *cfg) /* {{{ */
{
if (cfg == NULL)
return (NULL);
return (cfg->defs);
-} /* }}} graph_def_t *gl_graph_get_defs */
+} /* }}} graph_def_t *graph_get_defs */
-int gl_graph_add_def (graph_config_t *cfg, graph_def_t *def) /* {{{ */
+int graph_add_def (graph_config_t *cfg, graph_def_t *def) /* {{{ */
{
if ((cfg == NULL) || (def == NULL))
return (EINVAL);
}
return (def_append (cfg->defs, def));
-} /* }}} int gl_graph_add_def */
+} /* }}} int graph_add_def */
_Bool graph_matches (graph_config_t *cfg, const graph_ident_t *ident) /* {{{ */
{