diff options
Diffstat (limited to 'gemlog.h')
-rw-r--r-- | gemlog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gemlog.h b/gemlog.h index 7c84039..e74058b 100644 --- a/gemlog.h +++ b/gemlog.h @@ -1,5 +1,6 @@ #define GEMLOG_TITLE_FILENAME "title" #define GEMLOG_CONTENT_FILENAME "content.gmi" +#define GEMLOG_CONTENT_HTML_FILENAME "content.html" struct gemlog_entry { char *title; @@ -16,6 +17,9 @@ size_t strlcat(char *, const char *, size_t); /* gemlog.c */ struct gemlog_entry **gemlog_readdir(const char *); +/* html.c */ +int gemlog_write_html(struct gemlog_entry **, const char *); + /* free.c */ void gemlog_entry_free(struct gemlog_entry *); void gemlog_entry_list_free(struct gemlog_entry **); |