summaryrefslogtreecommitdiff
path: root/cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.h')
-rw-r--r--cmd.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/cmd.h b/cmd.h
new file mode 100644
index 0000000..ec9e691
--- /dev/null
+++ b/cmd.h
@@ -0,0 +1,15 @@
+#ifndef CMD_H
+#define CMD_H
+
+typedef void (*cgit_cmd_fn)(struct cgit_context *ctx);
+
+struct cgit_cmd {
+ const char *name;
+ cgit_cmd_fn fn;
+ unsigned int want_repo:1,
+ want_layout:1;
+};
+
+extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx);
+
+#endif /* CMD_H */
582b94fa884f4bd2c4b70c862250&follow=1'>DocRené 'Necoro' Neumann1-1/+14 2009-07-05Install package_details.pyRené 'Necoro' Neumann1-1/+1 2009-07-05Sort plugins in the windowRené 'Necoro' Neumann2-13/+12 2009-07-05Port DependencyDetailRené 'Necoro' Neumann4-129/+118 2009-07-05Also port FilesDetailRené 'Necoro' Neumann3-43/+24 2009-07-05Also ported EbuildDetailRené 'Necoro' Neumann3-27/+14