summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0eb8b60)
raw | patch | inline | side by side (parent: 0eb8b60)
author | Florian Forster <ff@octo.it> | |
Mon, 12 Jul 2010 09:26:14 +0000 (11:26 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 12 Jul 2010 09:26:14 +0000 (11:26 +0200) |
src/graph.c | patch | blob | history | |
src/graph.h | patch | blob | history | |
src/graph_list.c | patch | blob | history |
diff --git a/src/graph.c b/src/graph.c
index 9b545fd702922f7c73c45ca63db5cef4396b168a..845bbb7a02f7abedb13261c17e5621100d5cbb79 100644 (file)
--- a/src/graph.c
+++ b/src/graph.c
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))
@@ -305,7 +305,7 @@ _Bool graph_matches_ident (graph_config_t *cfg, const graph_ident_t *ident) /* {
#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)
diff --git a/src/graph.h b/src/graph.h
index b6f2e7c539b9b50a60c8eecc0607cf2a5e7d483c..7a433f19e2cd620fa6d76119031b53f9adb6f4dc 100644 (file)
--- a/src/graph.h
+++ b/src/graph.h
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
diff --git a/src/graph_list.c b/src/graph_list.c
index ef52cb362106092ed9de51115b5edb4d85d4b9db..89f3e5d33eb5b43fdf295f3b510ddbc972f70265 100644 (file)
--- a/src/graph_list.c
+++ b/src/graph_list.c
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);