summaryrefslogtreecommitdiff
path: root/src/group.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/group.h')
-rw-r--r--src/group.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/group.h b/src/group.h
new file mode 100644
index 0000000..1178edd
--- /dev/null
+++ b/src/group.h
@@ -0,0 +1,19 @@
+#include "../config.h"
+
+// a group/category for entries to be put in
+typedef struct {
+ char name[BUF_LEN];
+ char desc[BUF_LEN];
+ char url[BUF_LEN];
+ //bool column
+} Group;
+
+// getters
+char *group_get_name(Group *g);
+char *group_get_desc(Group *g);
+char *group_get_url(Group *g);
+
+// setters
+void group_set_name(Group *g, char *name);
+void group_set_desc(Group *g, char *desc);
+void group_set_url(Group *g, char *url);