31#ifndef HOSPITAL_MANAGER_H
32#define HOSPITAL_MANAGER_H
48#define MAX_HOSPITAL_NAME_LENGTH 100
55#define MAX_HOSPITAL_LOCATION_LENGTH 100
62#define MAX_HOSPITAL_CODE_LENGTH 8
93void loadHospitals(
void);
107void saveHospitals(
void);
129char* addHospital(
const char*
name,
const char*
location);
147bool validateHospitalCode(
const char*
code);
171bool deleteHospital(
const char*
code,
const char* adminUsername,
const char* adminPassword);
189char* getHospitalNameByCode(
const char*
code);
199void displayHospitals(
void);
209void freeHospital(
void);
Admin manager header file.
#define MAX_HOSPITAL_CODE_LENGTH
Maximum hospital code length.
#define MAX_HOSPITAL_LOCATION_LENGTH
Maximum hospital location length.
#define MAX_HOSPITAL_NAME_LENGTH
Maximum hospital name length.
char code[MAX_HOSPITAL_CODE_LENGTH]
char location[MAX_HOSPITAL_LOCATION_LENGTH]
char name[MAX_HOSPITAL_NAME_LENGTH]