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: system.h
===================================================================
--- system.h	(nonexistent)
+++ system.h	(revision 5)
@@ -0,0 +1,25 @@
+
+#ifndef    __SYSTEM_H
+#define    __SYSTEM_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+typedef void (*system_errfunc)( const char *fmt, ... );
+
+extern void system_error( const char *fmt, ... ) __attribute__((format (printf,1,2)));
+extern system_errfunc system_fatal; /* Default Fatal Error Function == system_error() */
+
+
+extern pid_t sys_exec_command( struct strbuf *sb, const char *cmd );
+extern int sys_wait_command( pid_t pid, struct strbuf *errmsg );
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif  /* __SYSTEM_H */