Commit 4b116a8f by krmaet

Update changedata.h

parent a93e418d
Showing with 0 additions and 9 deletions
#ifndef CHANGEDATA_H #ifndef CHANGEDATA_H
#define CHANGEDATA_H #define CHANGEDATA_H
#include <ncurses.h>
#include <mysql/mysql.h>
#include "main.h"
#define USER_OPTIONS_CNT 5 #define USER_OPTIONS_CNT 5
#define ADMIN_OPTIONS_CNT 4 #define ADMIN_OPTIONS_CNT 4
#define ASSISTANT_OPTIONS_CNT 3 #define ASSISTANT_OPTIONS_CNT 3
...@@ -15,11 +11,6 @@ ...@@ -15,11 +11,6 @@
//Function to print out universal option menu //Function to print out universal option menu
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);
//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);
//Functions to change data in bookings //Functions to change data in bookings
void CheckIn(MYSQL *con, int *row, int *col); void CheckIn(MYSQL *con, int *row, int *col);
void ChangeName(MYSQL *con, char *booking, int *row, int *col); void ChangeName(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