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
8889d67f
authored
May 01, 2023
by
krmaet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update proccessing.h
parent
1f6b3af4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
proccessing.h
proccessing.h
View file @
8889d67f
#ifndef
BRONEER
ING_H
#define
BRONEER
ING_H
#ifndef
PROCCESS
ING_H
#define
PROCCESS
ING_H
#define NAME_MAX 40
#define DOB_MAX 20
...
...
@@ -16,7 +16,6 @@
#define ASSISTANT 1
#define CLIENT 0
#include <mysql/mysql.h>
typedef
struct
{
char
documentNum
[
DOC_MAX
];
...
...
@@ -55,6 +54,11 @@ void PrintSeats(int data[ROWS][COLUMNS], int rows, int cols, int *row, int *col,
//Funtions to read from database and display info
int
ShowDestinations
(
MYSQL
*
con
,
int
*
rows
,
int
*
cols
);
//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
);
#endif
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