cGit-UI for Git Repositories

cGit-UI – is a web interface for Git Repositories. cGit CGI script is writen in C and therefore it's fast enough

12 Commits   0 Branches   1 Tag
Index: fatal.h
===================================================================
--- fatal.h	(nonexistent)
+++ fatal.h	(revision 5)
@@ -0,0 +1,22 @@
+
+#ifndef    __FATAL_H
+#define    __FATAL_H
+
+#define HTTP_ERRMSG_SIZE  4096
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+extern void fatal( const char *fmt, ... ) __attribute__((format (printf,1,2)));
+
+extern void fatal_json( const char *fmt, ... ) __attribute__((format (printf,1,2)));
+extern void fatal_html( const char *fmt, ... ) __attribute__((format (printf,1,2)));
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif  /* __FATAL_H */