From 6050dcdd3669b7102f35a226a6a3ee485c7b703a Mon Sep 17 00:00:00 2001 From: wrmr Date: Fri, 8 Nov 2024 23:23:07 -0500 Subject: use strv_t in plaintext parsing, doc_add_line --- doc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc.h') diff --git a/doc.h b/doc.h index 132999e..a71ca49 100644 --- a/doc.h +++ b/doc.h @@ -2,6 +2,7 @@ #define DOC_H #include "buf.h" +#include "strv.h" #define DOC_LINK_NONE 0xffff @@ -27,7 +28,7 @@ void doc_init(struct doc *); void doc_fini(struct doc *); void doc_new_line(struct doc *); -void doc_add_line(struct doc *, const char *); +void doc_add_line(struct doc *, strv_t); void doc_add_text(struct doc *, const char *); void doc_add_textn(struct doc *, const char *, size_t); -- cgit 1.4.1-2-gfad0