aboutsummaryrefslogtreecommitdiffstats
path: root/ui-blob.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add struct cgit_page to cgit_contextLars Hjemli2008-03-241-1/+3
| | | | | | | | This struct is used when generating http headers, and as such is another small step towards the goal of the whole cleanup series; to invoke each page/view function with a function pointer. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Introduce html.hLars Hjemli2008-03-181-0/+9
| | | | | | | | All html-functions can be quite easily separated from the rest of cgit, so lets do it; the only issue was html_filemode which uses some git-defined macros so the function is moved into ui-shared.c::cgit_print_filemode(). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
* Add support for downloading single blobsLars Hjemli2007-05-091-0/+31
Signed-off-by: Lars Hjemli <hjemli@gmail.com>