summaryrefslogtreecommitdiff
path: root/src/entry.c
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-07-01 17:30:24 -0700
committerLouie S <louie@example.com>2023-07-01 17:30:24 -0700
commita92d5ac3d3858bb356e752065594e90c8b2203d9 (patch)
treeaab7bc2fbc42717248bf09a610c205e67d5d665e /src/entry.c
parent3fc10846ca2d1b42b596fbf3d719abc1d6608c94 (diff)
Database initialization
Diffstat (limited to 'src/entry.c')
-rw-r--r--src/entry.c8
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);
}