return (def_append (cfg->defs, tmp));
} /* }}} int graph_add_def */
-_Bool graph_matches_ident (graph_config_t *cfg, const graph_ident_t *ident) /* {{{ */
+_Bool graph_ident_matches (graph_config_t *cfg, const graph_ident_t *ident) /* {{{ */
{
#if C4_DEBUG
if ((cfg == NULL) || (ident == NULL))
#endif
return (ident_matches (cfg->select, ident));
-} /* }}} _Bool graph_matches_ident */
+} /* }}} _Bool graph_ident_matches */
_Bool graph_matches_field (graph_config_t *cfg, /* {{{ */
graph_ident_field_t field, const char *field_value)
int graph_add_def (graph_config_t *cfg, graph_def_t *def);
-_Bool graph_matches_ident (graph_config_t *cfg, const graph_ident_t *ident);
+_Bool graph_ident_matches (graph_config_t *cfg, const graph_ident_t *ident);
/* Compares the given string with the appropriate field of the selector. If the
* selector field is "/all/" or "/any/", returns true without checking the
graph_config_t *cfg = gl_active[i];
int status;
- if (!graph_matches_ident (cfg, file))
+ if (!graph_ident_matches (cfg, file))
continue;
status = graph_add_file (cfg, file);