Commit 6f77f162 by karade

Update generator.h

parent 19b53b91
Showing with 7 additions and 1 deletions
......@@ -18,6 +18,7 @@ typedef struct{
bool checkedIn;
char seat[SEAT_MAX];
int luggageClass;
int flight_id;
}users;
......@@ -26,5 +27,9 @@ void GenNames(users *data, int num);
int ComparCandidate(const void *a, const void *b);
int GetUniqueSeat(users *data, int len, char *seat);
void GenerateDateOfBirth(char *month, char *DoB);
void finish_with_error(MYSQL *con);
MYSQL* connectToMySQLServer();
void insertPersonIntoTable(MYSQL* con, users data);
void PrintTable(MYSQL_RES *result);
#endif //GENERATOR_H
#endif //GENERATOR_H
\ 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