summaryrefslogtreecommitdiffstats
path: root/system_part.h
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-09-26 23:45:45 +0300
committerGalin Simeonov <gts@volconst.com>2021-09-26 23:45:45 +0300
commitb24710fdd33599b83020d92b99961da36655cc4f (patch)
tree99b45bebffe713bac3863287f9833c32b38f8506 /system_part.h
parent2057bf1eb5aaf0a9fea2beb8083a3052936b34ea (diff)
downloadvolgit-b24710fdd33599b83020d92b99961da36655cc4f.tar.gz
added html struff
Diffstat (limited to 'system_part.h')
-rw-r--r--system_part.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/system_part.h b/system_part.h
index 5049312..0cc6139 100644
--- a/system_part.h
+++ b/system_part.h
@@ -6,6 +6,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdarg.h>
+#include <string.h>
extern const char *default_header;
extern const char *default_footer;
@@ -25,7 +26,10 @@ void parse_options(int argc,char **argv);
char* read_file(const char *filename);
int create_branch_dir(const char *branch_name);
FILE* create_file(int branch_dir,const char *filename);
+void close_file(FILE *file);
int create_dir(int base_dir,const char *dir_name);
+void push_html_link_for_blob(FILE *out,const char *filename,const char *oid);
+void push_html_link_for_tree(FILE *out,const char *filename,const char *oid);
#endif