-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdbtrans.h
34 lines (33 loc) · 1.12 KB
/
dbtrans.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
std::string InsertTDNDB( MYSQL * con,
const std::string trId,
const std::string trType,
std::string& TDNsgn,
std::string amount,
std::string pin,
std::string cert,
std::string note);
std::string UpdateBankAcc(MYSQL * con,
const std::string trId,
const std::string trType, // debit or credit
std::string& TDNsgn,
std::string amount,
std::string note);
std::string GetTDNdata( MYSQL * con,
std::string & TDNsgn,
std::string& amount,
std::string& status,
std::string& pin,
std::string& cert);
std::string CancelTDN( MYSQL * con,
const std::string trId,
const std::string trType,
std::string & TDNsgn);
std::string UpdateTDN( MYSQL * con,
std::string & TDNsgn,
std::string pin,
std::string cert,
std::string note);
MYSQL * GetConnection (void);
void ReleaseConnection( MYSQL * con);
std::string GetTransId(MYSQL *con, std::string& trId);