Room Manager 0.1
room reservation management system
roomman Struct Reference

Structure of an entry in the database. More...

#include <roommandef.h>

Data Fields

roomman_id_t rid
 
char building [ROOMMAN_MAX_NAME+1]
 
char name [ROOMMAN_MAX_NAME+1]
 
uint16_t occupied
 
uint16_t capacity
 
char reserved_by [ROOMMAN_MAX_NAME+1]
 

Detailed Description

Structure of an entry in the database.

Definition at line 52 of file roommandef.h.

Field Documentation

◆ building

char roomman::building[ROOMMAN_MAX_NAME+1]

Name of the building

Definition at line 55 of file roommandef.h.

◆ capacity

uint16_t roomman::capacity

room capacity

Definition at line 58 of file roommandef.h.

◆ name

char roomman::name[ROOMMAN_MAX_NAME+1]

Name of the room

Definition at line 56 of file roommandef.h.

◆ occupied

uint16_t roomman::occupied

currently occupied seats

Definition at line 57 of file roommandef.h.

◆ reserved_by

char roomman::reserved_by[ROOMMAN_MAX_NAME+1]

Name of the reserving person; can be empty

Definition at line 59 of file roommandef.h.

◆ rid

roomman_id_t roomman::rid

Unique ID

Definition at line 54 of file roommandef.h.


The documentation for this struct was generated from the following file: