Here we go, first code
[webgit] / src / actions.h
1 /*
2     cehtehs git web frontend
3
4   Copyright (C)
5     2007,               Christian Thaeter <ct@pipapo.org>
6
7   This program is free software; you can redistribute it and/or
8   modify it under the terms of the GNU General Public License as
9   published by the Free Software Foundation; either version 2 of the
10   License, or (at your option) any later version.
11
12   This program is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with this program; if not, write to the Free Software
19   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21 #ifndef CTGIT_ACTIONS_H
22 #define CTGIT_ACTIONS_H
23
24 #include "ctgit.h"
25
26 #include "cwa.h"
27
28 /*
29   Pages presented to the user and other main actions
30 */
31 #define CTGIT_ACTIONS                           \
32  CTGIT_ACTION(main)                             \
33  CTGIT_ACTION(summary)                          \
34  CTGIT_ACTION(log)                              \
35  CTGIT_ACTION(diff)                             \
36  CTGIT_ACTION(object)                           \
37  CTGIT_ACTION(raw)                              \
38  CTGIT_ACTION(tag)                              \
39  CTGIT_ACTION(edit)                             \
40  CTGIT_ACTION(commit)
41
42 Html
43 ctgit_action_dispatch (struct ctgit_query* query);
44
45 #endif