Commit 8889d67f by krmaet

Update proccessing.h

parent 1f6b3af4
Showing with 7 additions and 3 deletions
#ifndef BRONEERING_H
#define BRONEERING_H
#ifndef PROCCESSING_H
#define PROCCESSING_H
#define NAME_MAX 40
#define DOB_MAX 20
......@@ -16,7 +16,6 @@
#define ASSISTANT 1
#define CLIENT 0
#include <mysql/mysql.h>
typedef struct{
char documentNum[DOC_MAX];
......@@ -55,6 +54,11 @@ void PrintSeats(int data[ROWS][COLUMNS], int rows, int cols, int *row, int *col,
//Funtions to read from database and display info
int ShowDestinations(MYSQL *con, int *rows, int *cols);
//Functions to check if provided info is correct
int CheckUser(MYSQL *con, char *username, char *password);
int CheckBooking(MYSQL *con, char *bookingNumber, int *row, int *col);
int CheckBookingDocument(MYSQL *con, char *bookingNumber, char *documentNumber, int *row, int *col);
#endif
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