Yet another step towards removing cgit.h. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This simplifies the code in cgit.c and makes it easier to extend cgit with new pages/commands. Signed-off-by: Lars Hjemli <hjemli@gmail.com>