Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
mvahes
/
Lennubroneerimis_tarkvara
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4b116a8f
authored
May 01, 2023
by
krmaet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update changedata.h
parent
a93e418d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
changedata.h
changedata.h
View file @
4b116a8f
#ifndef CHANGEDATA_H
#define CHANGEDATA_H
#include <ncurses.h>
#include <mysql/mysql.h>
#include "main.h"
#define USER_OPTIONS_CNT 5
#define ADMIN_OPTIONS_CNT 4
#define ASSISTANT_OPTIONS_CNT 3
...
...
@@ -15,11 +11,6 @@
//Function to print out universal option menu
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
void
CheckIn
(
MYSQL
*
con
,
int
*
row
,
int
*
col
);
void
ChangeName
(
MYSQL
*
con
,
char
*
booking
,
int
*
row
,
int
*
col
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment