X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmain.c;h=5fd34d107ecbb77d930d4057d3441b86a6f8dd27;hb=57ea63c5b3af362e4663e04f04c73e7015ecf83d;hp=097c55cfee70700ea48e6622686f2bacc445c36f;hpb=2c85f876c1b9d5c161694cfb03cf20773b74c844;p=collection4.git diff --git a/src/main.c b/src/main.c index 097c55c..5fd34d1 100644 --- a/src/main.c +++ b/src/main.c @@ -11,10 +11,12 @@ #include "common.h" #include "graph_list.h" -#include "utils_params.h" +#include "utils_cgi.h" #include "action_graph.h" #include "action_list_graphs.h" +#include "action_search_json.h" +#include "action_show_graph.h" /* Include this last, so the macro magic of doesn't interfere * with our own header files. */ @@ -34,6 +36,8 @@ static const action_t actions[] = { { "graph", action_graph }, { "list_graphs", action_list_graphs }, + { "search_json", action_search_json }, + { "show_graph", action_show_graph }, { "usage", action_usage } }; static const size_t actions_num = sizeof (actions) / sizeof (actions[0]);