]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-blob.h
ui-shared: currenturl should take into account leading slash
[ps-cgit] / ui-blob.h
index ce3649fea8762f5cff2c3168f59c9dd3da3d1328..16847b20b17a4c4db5163b8423b4c3496b1f5583 100644 (file)
--- a/ui-blob.h
+++ b/ui-blob.h
@@ -1,8 +1,8 @@
 #ifndef UI_BLOB_H
 #define UI_BLOB_H
 
-extern int cgit_ref_path_exists(const char *path, const char *ref);
-extern int cgit_print_file(char *path, const char *head);
-extern void cgit_print_blob(const char *hex, char *path, const char *head);
+extern int cgit_ref_path_exists(const char *path, const char *ref, int file_only);
+extern int cgit_print_file(char *path, const char *head, int file_only);
+extern void cgit_print_blob(const char *hex, char *path, const char *head, int file_only);
 
 #endif /* UI_BLOB_H */