Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
krmaet
/
Lennubroneerimis_tarkvara
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6f77f162
authored
Mar 17, 2023
by
karade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update generator.h
parent
19b53b91
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
generator.h
generator.h
View file @
6f77f162
...
@@ -18,6 +18,7 @@ typedef struct{
...
@@ -18,6 +18,7 @@ typedef struct{
bool
checkedIn
;
bool
checkedIn
;
char
seat
[
SEAT_MAX
];
char
seat
[
SEAT_MAX
];
int
luggageClass
;
int
luggageClass
;
int
flight_id
;
}
users
;
}
users
;
...
@@ -26,5 +27,9 @@ void GenNames(users *data, int num);
...
@@ -26,5 +27,9 @@ void GenNames(users *data, int num);
int
ComparCandidate
(
const
void
*
a
,
const
void
*
b
);
int
ComparCandidate
(
const
void
*
a
,
const
void
*
b
);
int
GetUniqueSeat
(
users
*
data
,
int
len
,
char
*
seat
);
int
GetUniqueSeat
(
users
*
data
,
int
len
,
char
*
seat
);
void
GenerateDateOfBirth
(
char
*
month
,
char
*
DoB
);
void
GenerateDateOfBirth
(
char
*
month
,
char
*
DoB
);
void
finish_with_error
(
MYSQL
*
con
);
MYSQL
*
connectToMySQLServer
();
void
insertPersonIntoTable
(
MYSQL
*
con
,
users
data
);
void
PrintTable
(
MYSQL_RES
*
result
);
#endif //GENERATOR_H
#endif //GENERATOR_H
\ No newline at end of file
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