From a92d5ac3d3858bb356e752065594e90c8b2203d9 Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 1 Jul 2023 17:30:24 -0700 Subject: Database initialization --- src/entry.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/entry.c') diff --git a/src/entry.c b/src/entry.c index 086db8c..2d5f7d0 100644 --- a/src/entry.c +++ b/src/entry.c @@ -19,6 +19,10 @@ char *entry_get_highlight(Entry *e) { return e->highlight; } +bool entry_get_done(Entry *e) { + return e->done; +} + char *entry_get_url(Entry *e) { return e->url; } @@ -41,6 +45,10 @@ void entry_set_highlight(Entry *e, char *highlight) { strcpy(e->highlight, highlight); } +void entry_set_done(Entry *e, bool done) { + e->done = done; +} + void entry_set_url(Entry *e, char *url) { strcpy(e->url, url); } -- cgit