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
     5         kx 
     5         kx #ifndef    __UI_SHARED_H
     5         kx #define    __UI_SHARED_H
     5         kx 
     5         kx /*********************************
     5         kx   Limits used for relative dates:
     5         kx  */
     5         kx #define TM_MIN    60
     5         kx #define TM_HOUR  (TM_MIN * 60)
     5         kx #define TM_DAY   (TM_HOUR * 24)
     5         kx #define TM_WEEK  (TM_DAY * 7)
     5         kx #define TM_YEAR  (TM_DAY * 365)
     5         kx #define TM_MONTH (TM_YEAR / 12.0)
     5         kx 
     5         kx #ifdef __cplusplus
     5         kx extern "C" {
     5         kx #endif
     5         kx 
     5         kx 
     5         kx extern void cgit_print_http_headers( void );
     5         kx 
     5         kx extern const struct date_mode *cgit_date_mode( enum date_mode_type type );
     5         kx extern void cgit_print_age( struct strbuf *sb, time_t t, int tz, time_t max_relative );
     5         kx 
     5         kx extern void cgit_search_repo( const char *path );
     5         kx 
     5         kx extern void cgit_repo_info( struct cgit_info *info, const char *revision );
     5         kx extern void cgit_rpath_info( struct cgit_info *info, const char *relative_path, const char *revision );
     5         kx 
     5         kx extern void cgit_repo_branches_number( struct cgit_repository *rctx );
     5         kx extern void cgit_repo_commits_number( struct cgit_repository *rctx );
     5         kx extern void cgit_repo_tags_number( struct cgit_repository *rctx );
     5         kx 
     5         kx extern void cgit_git_version( struct cgit_versions *vctx );
     5         kx extern void cgit_nginx_version( struct cgit_versions *vctx );
     5         kx 
     5         kx 
     5         kx extern void cgit_print_404_page( void );
     5         kx extern void cgit_print_raw_file( struct strbuf *sb, const char *mime );
     5         kx 
     5         kx 
     5         kx #ifdef __cplusplus
     5         kx }
     5         kx #endif
     5         kx 
     5         kx #endif  /* __UI_SHARED_H */