return (0);
} /* }}} int graph_inst_find_all_matching */
-int graph_inst_search (graph_config_t *cfg, const char *term, /* {{{ */
+int graph_search_inst_string (graph_config_t *cfg, const char *term, /* {{{ */
graph_inst_callback_t cb,
void *user_data)
{
status = graph_get_title (cfg, buffer, sizeof (buffer));
if (status != 0)
{
- fprintf (stderr, "graph_inst_search: graph_get_title failed\n");
+ fprintf (stderr, "graph_search_inst_string: graph_get_title failed\n");
return (status);
}
}
return (0);
-} /* }}} int graph_inst_search */
+} /* }}} int graph_search_inst_string */
int graph_inst_search_field (graph_config_t *cfg, /* {{{ */
graph_ident_field_t field, const char *field_value,
const graph_ident_t *ident,
graph_inst_callback_t callback, void *user_data);
-int graph_inst_search (graph_config_t *cfg, const char *term,
+int graph_search_inst_string (graph_config_t *cfg, const char *term,
graph_inst_callback_t callback, void *user_data);
/* Iterates over all instances and calls "inst_matches_field". If that method
{
int status;
- status = graph_inst_search (gl_active[i], term,
+ status = graph_search_inst_string (gl_active[i], term,
/* callback = */ callback,
/* user data = */ user_data);
if (status != 0)
{
int status;
- status = graph_inst_search (gl_dynamic[i], term,
+ status = graph_search_inst_string (gl_dynamic[i], term,
/* callback = */ callback,
/* user data = */ user_data);
if (status != 0)