share/collection.js: Implement "zoom_reference", too.
[collection4.git] / src / graph_list.h
index e6b6888..a7ca003 100644 (file)
@@ -2,8 +2,7 @@
 #define GRAPH_LIST_H 1
 
 #include "graph_types.h"
-#include "graph.h"
-#include "graph_instance.h"
+#include "graph_ident.h"
 
 /*
  * Functions
@@ -24,6 +23,12 @@ int gl_instance_get_all (graph_inst_callback_t callback, void *user_data);
 int gl_search (const char *search, graph_inst_callback_t callback,
     void *user_data);
 
+int gl_search_field (graph_ident_field_t field, const char *field_value,
+    graph_inst_callback_t callback, void *user_data);
+
+int gl_foreach_host (int (*callback) (const char *host, void *user_data),
+    void *user_data);
+
 int gl_update (void);
 
 #endif /* GRAPH_LIST_H */