summaryrefslogtreecommitdiffstatshomepage
path: root/cgit.css
Commit message (Expand)AuthorAge
* Use tables for page layoutLars Hjemli2007-11-16
* Fix html error detected by test-suiteLars Hjemli2007-11-11
* Minor css tweaksLars Hjemli2007-11-09
* Do not require javascript-enabled clientsLars Hjemli2
/*
 * Since git has it's own cache.h which we include,
 * lets test on CGIT_CACHE_H to avoid confusion
 */

#ifndef CGIT_CACHE_H
#define CGIT_CACHE_H

typedef void (*cache_fill_fn)(void *cbdata);


/* Print cached content to stdout, generate the content if necessary.
 *
 * Parameters
 *   size    max number of cache files
 *   path    directory used to store cache files
 *   key     the key used to lookup cache files
 *   ttl     max cache time in seconds for this key
 *   fn      content generator function for this key
 *   cbdata  user-supplied data to the content generator function
 *
 * Return value
 *   0 indicates success, everyting else is an error
 */
extern int cache_process(int size, const char *path, const char *key, int ttl,
			 cache_fill_fn fn, void *cbdata);


/* List info about all cache entries on stdout */
extern int cache_ls(const char *path);

/* Print a message to stdout */
extern void cache_log(const char *format, ...);

#endif /* CGIT_CACHE_H */
emli2007-05-11 * Layout updateLars Hjemli2007-02-21 * Set explicit font sizeLars Hjemli2007-01-28 * Change global document layoutLars Hjemli2007-01-28 * Cleanup table listingsLars Hjemli2007-01-28 * Extend repo summary with tag listLars Hjemli2007-01-17 * Add generic support for search box in page headerLars Hjemli2006-12-28 * Minor style fixesLars Hjemli2006-12-22 * Only show first 80 characters of commit subject in log and summaryLars Hjemli2006-12-22 * Add basic diff viewLars Hjemli2006-12-20 * Use html_filemode in ui-tree.cLars Hjemli2006-12-17 * Show list of modified files in ui-commit.cLars Hjemli2006-12-17 * gitweb ripoff: set tr:hover to highligt current rowLars Hjemli2006-12-16 * Make repo header a link to summary pageLars Hjemli2006-12-16 * Add ui-commit.c + misc ui cleanupsLars Hjemli2006-12-16 * Small layout adjustments to summary and blob viewLars Hjemli2006-12-13