summaryrefslogtreecommitdiff
path: root/src/group.h
blob: 2d626b7f12941d2772c02fa8471b127c4f3308c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef GROUP_H
#define GROUP_H

#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);

#endif