projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"search json" action: Move the JSON callback method into an own action.
[collection4.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
5c2b146
..
13add00
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-15,6
+15,7
@@
#include "action_graph.h"
#include "action_list_graphs.h"
#include "action_graph.h"
#include "action_list_graphs.h"
+#include "action_search_json.h"
/* Include this last, so the macro magic of <fcgi_stdio.h> doesn't interfere
* with our own header files. */
/* Include this last, so the macro magic of <fcgi_stdio.h> doesn't interfere
* with our own header files. */
@@
-34,6
+35,7
@@
static const action_t actions[] =
{
{ "graph", action_graph },
{ "list_graphs", action_list_graphs },
{
{ "graph", action_graph },
{ "list_graphs", action_list_graphs },
+ { "search_json", action_search_json },
{ "usage", action_usage }
};
static const size_t actions_num = sizeof (actions) / sizeof (actions[0]);
{ "usage", action_usage }
};
static const size_t actions_num = sizeof (actions) / sizeof (actions[0]);