diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2024-01-08 11:14:42 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-08 13:08:55 +0100 |
commit | 28ab2aa9b0fe22c4d4658f37799e2735b7370ef2 (patch) | |
tree | 9b2ff285c1421275f14fe53e4b50ab68bca9ab50 /src/schedule.c | |
parent | a7727e40eaf30393b3fde4e2bd0a7224b0ba8f83 (diff) |
rest: Use mask to differentiate folder types
marker tells us if this folder to group rooms or computers.
this is a woraround because the database has two tables to store room and
computer folders, there is no unique id.
the tables cannot be merged yet because of the legacy web console, to overcome
this limitation, add a marker that provides a unique id to differentiate room
and computer folder.
this assumes only 65535 room folders are possible because the marker is
0x000010000 (65536)
Diffstat (limited to 'src/schedule.c')
0 files changed, 0 insertions, 0 deletions