gl_search_field (GIF_TYPE_INSTANCE, term_lc + strlen ("type_instance:"),
print_graph_inst_html, /* user_data = */ &cb_data);
else
- gl_search (term_lc,
+ gl_search_string (term_lc,
print_graph_inst_html, /* user_data = */ &cb_data);
free (term_lc);
if (term == NULL)
gl_instance_get_all (json_print_graph_instance, /* user_data = */ &data);
else
- gl_search (term, json_print_graph_instance, /* user_data = */ &data);
+ gl_search_string (term, json_print_graph_instance, /* user_data = */ &data);
if (!data.first)
json_end_graph ();
} /* }}} int gl_instance_get_all */
/* }}} gl_instance_get_all, gl_graph_instance_get_all */
-int gl_search (const char *term, graph_inst_callback_t callback, /* {{{ */
+int gl_search_string (const char *term, graph_inst_callback_t callback, /* {{{ */
void *user_data)
{
size_t i;
}
return (0);
-} /* }}} int gl_search */
+} /* }}} int gl_search_string */
int gl_search_field (graph_ident_field_t field, /* {{{ */
const char *field_value,
int gl_instance_get_all (graph_inst_callback_t callback, void *user_data);
-int gl_search (const char *search, graph_inst_callback_t callback,
+int gl_search_string (const char *search, graph_inst_callback_t callback,
void *user_data);
int gl_search_field (graph_ident_field_t field, const char *field_value,