Commit 088af928 by karade

Add new file

parent 9d26536d
Showing with 34 additions and 0 deletions
#ifndef BRONEERING_H
#define BRONEERING_H
#define NAME_MAX 40
#define DOB_MAX 20
#define STR_MAX 128
#define SEAT_MAX 5
#define SEATS 72
#define DOC_MAX 10
typedef struct{
char documentNum[DOC_MAX];
char fName[NAME_MAX];
char lName[NAME_MAX];
char dateOfBirth[DOB_MAX];
char email[STR_MAX];
char residency[STR_MAX];
bool checkedIn;
char seat[SEAT_MAX];
int luggageClass;
int flight_id;
}users;
MYSQL* connectToMySQLServer();
void finish_with_error(MYSQL *con);
int ShowDestinations(MYSQL *con);
void PrintRes(MYSQL_RES *result);
int GetRand(int min, int max);
void insertPersonIntoTable(MYSQL* con, users data);
#endif
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment