commit f1c6e31eefd4cfa1d503cb3659c0e6330a122387 from: Omar Polo date: Wed May 12 12:24:52 2021 UTC style(9) commit - cbfb58710c4cc9122dd3c9581e2612ba6c881690 commit + f1c6e31eefd4cfa1d503cb3659c0e6330a122387 blob - 7d5d1534f4e070dc94113985cff02a3cf0d61e73 blob + b6d7dd1e51ffe4cd45f7ffa7829a8d9c2f94c2f5 --- telescope.h +++ telescope.h @@ -85,8 +85,6 @@ struct vline { struct parser; struct page; -/* typedef void (*initparserfn)(struct parser*); */ - typedef int (*parsechunkfn)(struct parser*, const char*, size_t); typedef int (*parserfreefn)(struct parser*); @@ -118,8 +116,11 @@ enum trust_state { struct tofu_entry { char domain[GEMINI_URL_LEN]; - /* enough space for ``PROTO:HASH''. probably isn't a good - * idea tho. */ + + /* + * enough space for ``PROTO:HASH''. probably isn't a good + * idea tho. + */ char hash[128+1]; int verified; }; @@ -171,10 +172,12 @@ struct tab { struct proto { const char *schema; - /* should load the given url in the tab. Optionally, it may + /* + * should load the given url in the tab. Optionally, it may * consider the given url as relative to the one already * present in tab. It must set tab->urlstr to a serialized - * human-friendly URL. */ + * human-friendly URL. + */ void (*loadfn)(struct tab*, const char*); };