summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2024-01-11 13:09:05 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-01-11 13:35:41 +0100
commit149d1af21a9d8348cd504b21ad29fd2d742e8f77 (patch)
tree6c245024753f6057b06d1f2af1b001b3c0638de5 /src/dbi.h
parent41ce6400330731015c7d60755a576eec29245481 (diff)
rest: Change room field 'group' to 'folder_id'
Change the name of variable 'group', in og_group struct, to 'folder_id'. Change payload field to 'folder_id' These changes are to make code easier to understand.
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 37ecf2b..0bbb4e2 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -100,7 +100,7 @@ struct og_computer {
struct og_room {
uint32_t id;
uint32_t center;
- uint32_t group;
+ uint32_t folder_id;
char location[OG_DB_ROOM_LOC_MAXLEN + 1];
char name[OG_DB_ROOM_NAME_MAXLEN + 1];
char gateway[OG_DB_IP_MAXLEN + 1];