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
773a1a9e
authored
Mar 29, 2023
by
krmaet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update changedata.h
parent
c4dc2d97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
changedata.h
changedata.h
View file @
773a1a9e
...
...
@@ -2,21 +2,23 @@
#define CHANGEDATA_H
#include <ncurses.h>
#include <mysql/mysql.h>
#include "main.h"
#define USER_OPTIONS_CNT 5
#define ADMIN_OPTIONS_CNT 3
#define ASSISTANT_OPTIONS_CNT 3
#define STR_MAX 128
#define BUFFER_MAX 500
#define BOOKING_NUM 9
int
optionMenu
(
char
*
options
[],
int
count
,
char
buffer
[
STR_MAX
],
int
*
row
,
int
*
col
);
void
CheckIn
(
int
*
row
,
int
*
col
);
void
CheckBooking
(
char
*
bookingNumber
,
int
*
row
,
int
*
col
);
void
ChangeName
(
char
*
booking
,
int
*
row
,
int
*
col
);
void
ChangeDocument
(
char
*
booking
,
int
*
row
,
int
*
col
);
void
ChangeBaggage
(
char
*
booking
,
int
*
row
,
int
*
col
);
void
CheckIn
(
MYSQL
*
con
,
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
(
MYSQL
*
con
,
char
*
booking
,
int
*
row
,
int
*
col
);
void
ChangeDocument
(
MYSQL
*
con
,
char
*
booking
,
int
*
row
,
int
*
col
);
void
ChangeBaggage
(
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