src/graph.[ch]: Implement "graph_matches_ident".
[collection4.git] / src / graph_list.h
index a7ca003..b238a9e 100644 (file)
@@ -1,3 +1,26 @@
+/**
+ * collection4 - graph_list.h
+ * Copyright (C) 2010  Florian octo Forster
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ * 
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA  02110-1301  USA
+ *
+ * Authors:
+ *   Florian octo Forster <ff at octo.it>
+ **/
+
 #ifndef GRAPH_LIST_H
 #define GRAPH_LIST_H 1
 
@@ -20,7 +43,7 @@ int gl_graph_instance_get_all (graph_config_t *cfg, graph_inst_callback_t callba
 
 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,