src/graph.[ch]: Rename "graph_inst_search" to "graph_search_inst_string".
[collection4.git] / src / main.c
index 5dc5264..7bc024a 100644 (file)
 
 #include "action_graph.h"
 #include "action_list_graphs.h"
+#include "action_list_hosts.h"
+#include "action_search.h"
 #include "action_search_json.h"
 #include "action_show_graph.h"
+#include "action_show_graph_json.h"
 #include "action_show_instance.h"
 
 /* Include this last, so the macro magic of <fcgi_stdio.h> doesn't interfere
@@ -60,8 +63,11 @@ static const action_t actions[] =
 {
   { "graph",       action_graph },
   { "list_graphs", action_list_graphs },
+  { "list_hosts",  action_list_hosts },
+  { "search",      action_search },
   { "search_json", action_search_json },
   { "show_graph",  action_show_graph },
+  { "show_graph_json",  action_show_graph_json },
   { "show_instance", action_show_instance },
   { "usage",       action_usage }
 };