|
roomman_result_t | roomman_set_username (char *username) |
| Set the name of the current user (required for room reservations).
|
|
roomman_result_t | roomman_create_room (char *building_name, char *room_name, uint16_t max_pers, roomman_id_t *rid) |
| Create a new room.
|
|
roomman_result_t | roomman_delete_room (roomman_id_t rid) |
| Delete a room.
|
|
roomman_result_t | roomman_update_capacity (roomman_id_t rid, uint16_t new_capacity) |
| Update the capacity of a room.
|
|
roomman_result_t | roomman_reserve_room (roomman_id_t rid) |
| Reserve a room.
|
|
roomman_result_t | roomman_clear_reservation (roomman_id_t rid) |
| Reserve a room.
|
|
roomman_result_t | roomman_add_persons (roomman_id_t rid, uint16_t persons) |
| Increase the number of persons currently using the room.
|
|
roomman_result_t | roomman_remove_persons (roomman_id_t rid, uint16_t persons) |
| Decrease the number of persons currently using the room.
|
|
roomman_result_t | roomman_readentry (roomman_id_t rid, char *building, char *name, uint16_t *occupied, uint16_t *capacity, char *reserved_by) |
| Get contents of an entry in the database.
|
|
roomman_result_t | roomman_lookup (const char *building, const char *room_name, roomman_id_t *rid) |
| Find room in the database.
|
|
roomman_result_t | roomman_directory (int32_t *fdptr, const char *building, const char *room_name, roomman_id_t *rid) |
| Get a directory of entries in the database.
|
|
Copyright (C) 2017 by Arno Nuehm
This software is distributed in the hope that it will be useful, or at least interesting, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Definition in file roomman.h.