diff options
author | Louie S <louie@example.com> | 2023-07-04 13:43:10 -0700 |
---|---|---|
committer | Louie S <louie@example.com> | 2023-07-04 13:43:10 -0700 |
commit | ed11c16d6687b0b51d41a598b93d7923331a3853 (patch) | |
tree | d53621501b365e5dcb48bf6849f78b3ee79f5606 /src/entry.c | |
parent | 27f266e072ad40cdb9c46190b1d8ccc212af001e (diff) |
Groups printing, need to debug entries
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; } |