]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Add and use a common readfile() function
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index d90ccdcafff809bff7734f1949f3a84f5cbd18ee..adb8da4f49be0499eb83ed4a40794f11825be96a 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -283,5 +283,6 @@ extern int cgit_parse_snapshots_mask(const char *str);
 extern int cgit_open_filter(struct cgit_filter *filter);
 extern int cgit_close_filter(struct cgit_filter *filter);
 
+extern int readfile(const char *path, char **buf, size_t *size);
 
 #endif /* CGIT_H */