Commit 773a1a9e by krmaet

Update changedata.h

parent c4dc2d97
Showing with 8 additions and 6 deletions
...@@ -2,21 +2,23 @@ ...@@ -2,21 +2,23 @@
#define CHANGEDATA_H #define CHANGEDATA_H
#include <ncurses.h> #include <ncurses.h>
#include <mysql/mysql.h>
#include "main.h" #include "main.h"
#define USER_OPTIONS_CNT 5 #define USER_OPTIONS_CNT 5
#define ADMIN_OPTIONS_CNT 3 #define ADMIN_OPTIONS_CNT 3
#define ASSISTANT_OPTIONS_CNT 3 #define ASSISTANT_OPTIONS_CNT 3
#define STR_MAX 128 #define STR_MAX 128
#define BUFFER_MAX 500
#define BOOKING_NUM 9 #define BOOKING_NUM 9
int optionMenu(char *options[], int count, char buffer[STR_MAX], int *row, int *col); int optionMenu(char *options[], int count, char buffer[STR_MAX], int *row, int *col);
void CheckIn(int *row, int *col); void CheckIn(MYSQL *con, int *row, int *col);
void CheckBooking(char *bookingNumber, int *row, int *col); int CheckBooking(MYSQL *con, char *bookingNumber, int *row, int *col);
int CheckBookingDocument(MYSQL *con, char *bookingNumber, char *documentNumber, int *row, int *col);
void ChangeName(char *booking, int *row, int *col); void ChangeName(MYSQL *con, char *booking, int *row, int *col);
void ChangeDocument(char *booking, int *row, int *col); void ChangeDocument(MYSQL *con, char *booking, int *row, int *col);
void ChangeBaggage(char *booking, int *row, int *col); void ChangeBaggage(MYSQL *con, char *booking, int *row, int *col);
......
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