diff options
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 af4b8f4..c2958ed 100644 --- a/src/entry.c +++ b/src/entry.c @@ -7,6 +7,10 @@ int entry_get_id(Entry *e) { return e->id; } +int entry_get_group_id(Entry *e) { + return e->group_id; +} + struct tm entry_get_due_date(Entry *e) { return e->due_date; } @@ -41,6 +45,10 @@ void entry_set_id(Entry *e, int id) { e->id = id; } +void entry_set_group_id(Entry *e, int id) { + e->group_id = id; +} + void entry_set_due_date(Entry *e, struct tm due_date) { e->due_date = due_date; } |