summaryrefslogtreecommitdiff
path: root/src/entry.c
diff options
context:
space:
mode:
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);
}