diff options
author | Louie S <louie@example.com> | 2023-07-01 17:30:24 -0700 |
---|---|---|
committer | Louie S <louie@example.com> | 2023-07-01 17:30:24 -0700 |
commit | a92d5ac3d3858bb356e752065594e90c8b2203d9 (patch) | |
tree | aab7bc2fbc42717248bf09a610c205e67d5d665e /src/entry.c | |
parent | 3fc10846ca2d1b42b596fbf3d719abc1d6608c94 (diff) |
Database initialization
Diffstat (limited to 'src/entry.c')
-rw-r--r-- | src/entry.c | 8 |
1 files changed, 8 insertions, 0 deletions
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); } |