#include <gtk/gtk.h>
#include <glib.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "01-connect.h"
#include <mysql/mysql.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Go to the source code of this file.
Classes | |
struct | myparam |
Defines | |
#define | GTK_ENABLE_BROKEN |
This project is to combine some of topic that learned in ITWS courses by created a standard ATM Machine application. | |
#define | BUFFER 4096 |
#define | SERV_TCP_PORT 9999 |
#define | BUFSIZE 1024 |
Functions | |
static void | send_mail () |
This is called when system want to send report user and report transaction file. | |
static void | create_report () |
This is called when system want to be create report file to write record transaction from database. | |
static void | updated_password_record () |
This is called when user change the new password and updated it into database system. | |
static void | updated_transfer_account () |
This is called when user make tranfer money to other account which is updated balance for other account according the account no.In this function we need to convert amount to float type to easy for calculation process. | |
static void | transfer_money () |
This is called when user want to transfer money to other account.In this function we need to convert amount to float type to easy for calculation process. | |
static void | insert_report () |
This is called when system want to save record transaction in database after user did the withdrawal, change password, deposit and transfer transaction. | |
static void | updated_record () |
This is called when system want to updated balance in database after user did the withdrawal, deposit and transfer transaction. | |
static void | display_row1 () |
This is called after user connected to database and want to display message. | |
static void | count_withdrawal () |
This is called when user want to make withdrawal transaction from their account.In this function we need to convert amount to float type to easy for calculation process. | |
static void | count_deposit () |
This is called when user want to add money to their account.In this function we need to convert amount to float type to easy for calculation process. | |
static void | enter_callback (GtkWidget *entry, GdkEventKey *event, gpointer data) |
This function is to called when user presses button to enter number in entry text. | |
static gboolean | close_application (GtkWidget *widget, GdkEvent *event) |
This is called on pressing button to exit from system. | |
static gboolean | get_focus_click (GtkButton *button, gpointer data) |
This is called on pressing button when user want to enter pin number, amount of money to withdrawal, deposit or transfer and accout no to make transfer money. | |
static gboolean | enter_function (GtkButton *button_Enter, gpointer data) |
This is called on pressing button after user enter pin no/amount/account no in entry text. | |
static gboolean | balance_function (GtkButton *button_Balance, gpointer data) |
This function is to called when user presses button to check their balance available currently. | |
static gboolean | withdraw_function (GtkButton *button_Withdraw, gpointer entry1) |
This function is to called when user presses button to make withdrawal money into their account. | |
static gboolean | deposit_function (GtkButton *button_Deposit, gpointer entry1) |
This function is to called when user presses button to make add money into their account. | |
static gboolean | transfer_function (GtkButton *button_Transfer, gpointer entry1) |
This function is to called when user presses button to make transfer money into other account. | |
static gboolean | changePass_function (GtkButton *button_ChangePass, gpointer entry1) |
This function is to called when user presses button to changes password. | |
static gboolean | cancel_function (GtkButton *button, gpointer data) |
This is called on pressing button to cancel from do any transaction. | |
static gboolean | clear_function (GtkButton *button, gpointer data) |
This is called on pressing button when to clear value shown in entry text. | |
int | main (int argc, char *argv[]) |
This is where program starts and generates a ATM MAchine with all numbers, all button, labels and entry components. | |
Variables | |
MYSQL * | connection1 |
MYSQL_RES * | result1 |
MYSQL_ROW | sqlrow |
gchar | message [1000] |
gchar | message1 [1000] |
gchar | message2 [1000] |
gchar | message3 [1000] |
gchar | message4 [1000] |
gchar | record_user [1000] |
gchar | record_transaction [1000] |
gchar | new_user_pin [1000] |
gchar | trans_type [1000] |
gchar | trans_status [1000] |
gchar | trans_balance [1000] |
gint | transfer_account1 = 0 |
gint | index_report |
gchar | value [1000] |
gchar | value2 [1000] |
gchar | value3 [1000] |
gchar | value4 [1000] |
gchar | value5 [1000] |
gchar | value6 [1000] |
gchar | value7 [1000] |
gchar | password [1000] |
gchar | newPass [1000] |
gchar | confirmPass [1000] |
gint | counterPass = 0 |
gint | flags_password = 1 |
gfloat | withdraw_amount1 = 0.0 |
gint | counterWithdraw = 0 |
gint | flags_Withdraw = 0 |
gint | flags_enter = 1 |
gfloat | total_amount1 = 0.0 |
gint | flags_balance = 1 |
gint | flags_deposit = 0 |
gint | counterDeposit = 0 |
gchar | deposit_amount [1000] |
gfloat | deposit_amount1 = 0.0 |
gchar | account_no [1000] |
gint | flags_changesPass = 0 |
gint | counterChangePass = 0 |
gint | counterConfirmPass = 0 |
gint | counterCheck = 0 |
gint | i = 0 |
gint | flags_transfer = 0 |
gint | counterTransfer = 0 |
gchar | trans_amount [1000] |
gfloat | trans_amount1 = 0.0 |
gint | counterAmountTrans = 0 |
gint | index_enter = 0 |
gchar | balance [1000] |
gfloat | trans_balance1 = 0.0 |
gint | flags |
gint | confirmPass1 = 0 |
gint | first_click = 0 |
gint | index_record = 0 |
gint | record_no = 0 |
gint | record_bil = 0 |
FILE * | report_user |
FILE * | report_transaction |
char | command_statement [BUFFER] |
const char * | user_pin |
const char * | withdraw_value |
const char * | deposit_value |
const char * | total_amount_new |
const char * | transfer_account |
const char * | transfer_amount |
const char * | new_password |
const char * | confirm_password |
GtkWidget * | window |
GtkWidget * | box_A |
GtkWidget * | box_A1 |
GtkWidget * | box_A2 |
GtkWidget * | box_A3 |
GtkWidget * | box_B |
GtkWidget * | box_B1 |
GtkWidget * | button |
GtkWidget * | entry |
GtkWidget * | entry1 |
GtkWidget * | label1 |
GtkWidget * | label2 |
GtkWidget * | label3 |
GtkWidget * | separator |
GtkWidget * | separator1 |
GtkWidget * | separator2 |
GtkWidget * | table |
GtkWidget * | table1 |
GtkWidget * | button_Balance |
GtkWidget * | button_Withdraw |
GtkWidget * | button_Deposit |
GtkWidget * | button_Transfer |
GtkWidget * | button_ChangePass |
GtkWidget * | button_Enter |
struct sockaddr_in | server_address |
#define BUFFER 4096 |
Definition at line 37 of file atmCOMPLETE.c.
#define BUFSIZE 1024 |
#define GTK_ENABLE_BROKEN |
This project is to combine some of topic that learned in ITWS courses by created a standard ATM Machine application.
Areas for project are: 1) GUI programming (GTK) for interface 2) Server based databases (MySQL) for query statement to database 3) Socket Programming for connection ATM machine with SHB bank which is SHB as server and ATM as client 4) File Handling for create report file to write record transaction from database. 5) Shell Command for send report by email to user as their references
This ATM Machine is provide a separate GtkButtons for digits 0 to 9,Enter button to allow user go the next step in any transaction, Cancel button to allow user stop any transaction, Clear button to reset entry text and clear any value shown.Exit button to out of system. Also has some of buttons to allow user make transactions such as Balance button to allow user check their balance available currently, Withdrawal button to user make withdrawal money, Deposit button to allow user to add money in their account using machine, Transfer button to allow user transfer money into other account and Change Password button to allow user to change new password. There also be two GtkEntry which is first entry allow user to clicking on GtkButtons to enter the pin number, amount and no account. The second GtkEntry is to display instruction and message to user. This GtkEntry is set as false editable (user can't write). The ATM is provide GtkLabel to display name of bank, user name and account no.
These ATM application is allow user to make one transaction in the one time such as withdrawal, deposit, transfer money, change password and balance. After user done one transaction such as withdrawal, record transaction will be saved in database. At the same time, one file will be generated to write that record transaction from database. This report file will be sent to mail user and SBH Bank with attached this file. The ATM should support normal floating point and integer calculations that can be done in C using float or integer data types.
Title: ATM Machine application with sending report into email : Nooraini Bt Hamidon No: 200905027 : M.Tech CSE : atmCOMPLETE.c
Definition at line 36 of file atmCOMPLETE.c.
#define SERV_TCP_PORT 9999 |
static gboolean balance_function | ( | GtkButton * | button_Balance, | |
gpointer | data | |||
) | [static] |
This function is to called when user presses button to check their balance available currently.
*button_Balance | GtkButton which allow pressed by user to make transaction | |
data | any additional data passed while generating signal |
Definition at line 2222 of file atmCOMPLETE.c.
References connection1, display_row1(), myparam::entry, entry1, first_click, index_enter, message1, result1, and sqlrow.
Referenced by main().
static gboolean cancel_function | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static] |
This is called on pressing button to cancel from do any transaction.
*button | GtkButton allow user press the cancel button | |
data | any additional data passed while generating signal |
Definition at line 538 of file atmCOMPLETE.c.
References myparam::entry, entry1, first_click, flags_enter, label2, and label3.
Referenced by main().
static gboolean changePass_function | ( | GtkButton * | button_ChangePass, | |
gpointer | entry1 | |||
) | [static] |
This function is to called when user presses button to changes password.
*button_Transfer | GtkButton which allow pressed by user to make transaction | |
entry1 | gpointer to display instruction |
Definition at line 2317 of file atmCOMPLETE.c.
References first_click, and flags_changesPass.
Referenced by main().
static gboolean clear_function | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static] |
This is called on pressing button when to clear value shown in entry text.
*button | GtkButton allow user press the cancel button | |
data | any additional data passed while generating signal |
Definition at line 559 of file atmCOMPLETE.c.
References counterAmountTrans, counterChangePass, counterConfirmPass, counterDeposit, counterPass, counterTransfer, counterWithdraw, myparam::entry, first_click, and flags_enter.
Referenced by main().
static gboolean close_application | ( | GtkWidget * | widget, | |
GdkEvent * | event | |||
) | [static] |
This is called on pressing button to exit from system.
It calls gtk_main_quit() to end gtk_main and return to main()
*event | GdkEvent which generated the event. | |
*widget | GtkWidget allow user press the button |
Definition at line 526 of file atmCOMPLETE.c.
Referenced by main().
void count_deposit | ( | ) | [static] |
This is called when user want to add money to their account.In this function we need to convert amount to float type to easy for calculation process.
User can't add money more than rs50000 in one time. otherwise transaction will be failed
Definition at line 2023 of file atmCOMPLETE.c.
References connection1, deposit_amount1, deposit_value, entry1, message2, sqlrow, total_amount1, trans_status, and trans_type.
Referenced by enter_function().
void count_withdrawal | ( | ) | [static] |
This is called when user want to make withdrawal transaction from their account.In this function we need to convert amount to float type to easy for calculation process.
User can't make withdrawal money more than total amount of money available in their account. otherwise transaction will be failed
Definition at line 1974 of file atmCOMPLETE.c.
References connection1, entry1, message2, sqlrow, total_amount1, trans_status, trans_type, withdraw_amount1, and withdraw_value.
Referenced by enter_function().
void create_report | ( | ) | [static] |
This is called when system want to be create report file to write record transaction from database.
Here, has two file which are report user and report transaction. Report user will retrieve data about infromation about user such as name, account no and balance available currently. Report transaction will retrieve data latest transaction done by user.
Definition at line 1850 of file atmCOMPLETE.c.
References connection1, index_record, record_transaction, record_user, report_transaction, report_user, and sqlrow.
Referenced by enter_function().
static gboolean deposit_function | ( | GtkButton * | button_Deposit, | |
gpointer | entry1 | |||
) | [static] |
This function is to called when user presses button to make add money into their account.
*button_Deposit | GtkButton which allow pressed by user to make transaction | |
entry1 | gpointer to display instruction |
Definition at line 2273 of file atmCOMPLETE.c.
References first_click, and flags_deposit.
Referenced by main().
void display_row1 | ( | ) | [static] |
This is called after user connected to database and want to display message.
Message will be display after system finish retrieved data from database according what kind of data to be selected.
Definition at line 1754 of file atmCOMPLETE.c.
References connection1, entry1, first_click, flags, flags_balance, flags_enter, flags_transfer, index_enter, label2, label3, message, message1, message2, message3, message4, new_user_pin, sqlrow, and trans_balance.
Referenced by balance_function(), and enter_function().
static void enter_callback | ( | GtkWidget * | entry, | |
GdkEventKey * | event, | |||
gpointer | data | |||
) | [static] |
This function is to called when user presses button to enter number in entry text.
Also to display instruction and message in other entry text
*entry | Widget which generated the entry | |
*event | Widget which generated the event | |
data | any additional data passed while generating signal |
Definition at line 508 of file atmCOMPLETE.c.
Referenced by main().
static gboolean enter_function | ( | GtkButton * | button_Enter, | |
gpointer | data | |||
) | [static] |
This is called on pressing button after user enter pin no/amount/account no in entry text.
In this function to allow user to connect database to display data according type of transaction.
*button_Enter | GtkButton allow user press the enter button | |
data | any additional data passed while generating signal to hold value entered by user |
Definition at line 1066 of file atmCOMPLETE.c.
References confirm_password, confirmPass, connection1, count_deposit(), count_withdrawal(), counterCheck, create_report(), deposit_value, display_row1(), myparam::entry, entry1, flags, flags_changesPass, flags_enter, flags_transfer, i, index_enter, index_record, insert_report(), message, message1, new_password, newPass, record_no, result1, send_mail(), sqlrow, transfer_account, transfer_amount, transfer_money(), updated_password_record(), updated_record(), updated_transfer_account(), user_pin, and withdraw_value.
Referenced by main().
static gboolean get_focus_click | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static] |
This is called on pressing button when user want to enter pin number, amount of money to withdrawal, deposit or transfer and accout no to make transfer money.
User allow to enter 4 digit for pin number, at most 5 digit number for amount of withdrawal/deposit/transfer and 7 digit number for account no. Pin number is setting as an invisible for security and authorized.
*button | GtkButton allow user press the digit button | |
data | any additional data passed while generating signal |
Definition at line 590 of file atmCOMPLETE.c.
References confirmPass, counterAmountTrans, counterChangePass, counterConfirmPass, counterDeposit, counterPass, counterTransfer, counterWithdraw, myparam::entry, flags_changesPass, flags_deposit, flags_enter, flags_password, flags_transfer, flags_Withdraw, newPass, value, value2, value3, value4, value5, value6, and value7.
Referenced by main().
void insert_report | ( | ) | [static] |
This is called when system want to save record transaction in database after user did the withdrawal, change password, deposit and transfer transaction.
Definition at line 2141 of file atmCOMPLETE.c.
References confirmPass, connection1, deposit_amount1, message1, message3, record_bil, record_no, trans_amount1, trans_status, trans_type, and withdraw_amount1.
Referenced by enter_function().
int main | ( | int | argc, | |
char * | argv[] | |||
) |
This is where program starts and generates a ATM MAchine with all numbers, all button, labels and entry components.
This is where program execution starts which is database and socket are connected to server. All arguments are passed to gtk for processing, which removes any arguments relevant to it. All other arguments are ignored.
argc | Number of arguments passed. | |
argv | NULL terminated array of command line arguments. |
Definition at line 205 of file atmCOMPLETE.c.
References balance_function(), box_A, box_A1, box_A2, box_A3, box_B, box_B1, BUFSIZE, button, button_Balance, button_ChangePass, button_Deposit, button_Enter, button_Transfer, button_Withdraw, cancel_function(), changePass_function(), clear_function(), close_application(), connection1, deposit_function(), enter_callback(), enter_function(), myparam::entry, entry1, get_focus_click(), label1, label2, label3, separator, separator1, separator2, SERV_TCP_PORT, server_address, table, table1, transfer_function(), window, and withdraw_function().
void send_mail | ( | ) | [static] |
This is called when system want to send report user and report transaction file.
All the reports will be send to user through by student mail and bank (SBH mail) with attachment file for their references.
Definition at line 1907 of file atmCOMPLETE.c.
References command_statement.
Referenced by enter_function().
static gboolean transfer_function | ( | GtkButton * | button_Transfer, | |
gpointer | entry1 | |||
) | [static] |
This function is to called when user presses button to make transfer money into other account.
*button_Transfer | GtkButton which allow pressed by user to make transaction | |
entry1 | gpointer to display instruction |
Definition at line 2295 of file atmCOMPLETE.c.
References first_click, and flags_transfer.
Referenced by main().
void transfer_money | ( | ) | [static] |
This is called when user want to transfer money to other account.In this function we need to convert amount to float type to easy for calculation process.
User can't transfer money more than rs50000 in one time. otherwise transaction will be failed
Definition at line 1924 of file atmCOMPLETE.c.
References connection1, entry1, message2, sqlrow, total_amount1, trans_amount1, trans_status, trans_type, transfer_account1, and transfer_amount.
Referenced by enter_function().
void updated_password_record | ( | ) | [static] |
This is called when user change the new password and updated it into database system.
Definition at line 2066 of file atmCOMPLETE.c.
References confirmPass, connection1, entry1, new_user_pin, trans_status, and trans_type.
Referenced by enter_function().
void updated_record | ( | ) | [static] |
This is called when system want to updated balance in database after user did the withdrawal, deposit and transfer transaction.
Definition at line 2119 of file atmCOMPLETE.c.
References connection1, message1, and total_amount1.
Referenced by enter_function().
void updated_transfer_account | ( | ) | [static] |
This is called when user make tranfer money to other account which is updated balance for other account according the account no.In this function we need to convert amount to float type to easy for calculation process.
Definition at line 2095 of file atmCOMPLETE.c.
References connection1, message3, trans_amount1, trans_balance, and trans_balance1.
Referenced by enter_function().
static gboolean withdraw_function | ( | GtkButton * | button_Withdraw, | |
gpointer | entry1 | |||
) | [static] |
This function is to called when user presses button to make withdrawal money into their account.
*button_Deposit | GtkButton which allow pressed by user to make transaction | |
entry1 | gpointer to display instruction |
Definition at line 2338 of file atmCOMPLETE.c.
References first_click, and flags_Withdraw.
Referenced by main().
gchar account_no |
Definition at line 122 of file atmCOMPLETE.c.
gchar balance[1000] |
Definition at line 135 of file atmCOMPLETE.c.
GtkWidget* box_A |
GtkWidget* box_A1 |
GtkWidget* box_A2 |
GtkWidget* box_A3 |
GtkWidget* box_B |
GtkWidget* box_B1 |
GtkWidget* button |
GtkWidget* button_Balance |
GtkWidget* button_ChangePass |
GtkWidget* button_Deposit |
GtkWidget* button_Enter |
GtkWidget* button_Transfer |
GtkWidget* button_Withdraw |
char command_statement[BUFFER] |
const char* confirm_password |
gchar confirmPass[1000] |
Definition at line 109 of file atmCOMPLETE.c.
Referenced by enter_function(), get_focus_click(), insert_report(), and updated_password_record().
gint confirmPass1 = 0 |
Definition at line 138 of file atmCOMPLETE.c.
MYSQL* connection1 |
Definition at line 58 of file atmCOMPLETE.c.
Referenced by balance_function(), count_deposit(), count_withdrawal(), create_report(), display_row1(), enter_function(), insert_report(), main(), transfer_money(), updated_password_record(), updated_record(), and updated_transfer_account().
gint counterAmountTrans = 0 |
Definition at line 133 of file atmCOMPLETE.c.
Referenced by clear_function(), and get_focus_click().
gint counterChangePass = 0 |
Definition at line 124 of file atmCOMPLETE.c.
Referenced by clear_function(), and get_focus_click().
gint counterCheck = 0 |
gint counterConfirmPass = 0 |
Definition at line 125 of file atmCOMPLETE.c.
Referenced by clear_function(), and get_focus_click().
gint counterDeposit = 0 |
Definition at line 119 of file atmCOMPLETE.c.
Referenced by clear_function(), and get_focus_click().
gint counterPass = 0 |
Definition at line 110 of file atmCOMPLETE.c.
Referenced by clear_function(), and get_focus_click().
gint counterTransfer = 0 |
Definition at line 129 of file atmCOMPLETE.c.
Referenced by clear_function(), and get_focus_click().
gint counterWithdraw = 0 |
Definition at line 113 of file atmCOMPLETE.c.
Referenced by clear_function(), and get_focus_click().
gchar deposit_amount[1000] |
Definition at line 120 of file atmCOMPLETE.c.
gfloat deposit_amount1 = 0.0 |
const char* deposit_value |
GtkWidget* entry |
Definition at line 169 of file atmCOMPLETE.c.
GtkWidget* entry1 |
Definition at line 170 of file atmCOMPLETE.c.
Referenced by balance_function(), cancel_function(), count_deposit(), count_withdrawal(), display_row1(), enter_function(), main(), transfer_money(), and updated_password_record().
gint first_click = 0 |
Definition at line 139 of file atmCOMPLETE.c.
Referenced by balance_function(), cancel_function(), changePass_function(), clear_function(), deposit_function(), display_row1(), transfer_function(), and withdraw_function().
gint flags |
gint flags_balance = 1 |
gint flags_changesPass = 0 |
Definition at line 123 of file atmCOMPLETE.c.
Referenced by changePass_function(), enter_function(), and get_focus_click().
gint flags_deposit = 0 |
Definition at line 118 of file atmCOMPLETE.c.
Referenced by deposit_function(), and get_focus_click().
gint flags_enter = 1 |
Definition at line 115 of file atmCOMPLETE.c.
Referenced by cancel_function(), clear_function(), display_row1(), enter_function(), and get_focus_click().
gint flags_password = 1 |
gint flags_transfer = 0 |
Definition at line 128 of file atmCOMPLETE.c.
Referenced by display_row1(), enter_function(), get_focus_click(), and transfer_function().
gint flags_Withdraw = 0 |
Definition at line 114 of file atmCOMPLETE.c.
Referenced by get_focus_click(), and withdraw_function().
gint i = 0 |
gint index_enter = 0 |
Definition at line 134 of file atmCOMPLETE.c.
Referenced by balance_function(), display_row1(), and enter_function().
gint index_record = 0 |
gint index_report |
Definition at line 99 of file atmCOMPLETE.c.
GtkWidget* label1 |
GtkWidget* label2 |
Definition at line 172 of file atmCOMPLETE.c.
Referenced by cancel_function(), display_row1(), and main().
GtkWidget* label3 |
Definition at line 173 of file atmCOMPLETE.c.
Referenced by cancel_function(), display_row1(), and main().
gchar message[1000] |
gchar message1[1000] |
Definition at line 88 of file atmCOMPLETE.c.
Referenced by balance_function(), display_row1(), enter_function(), insert_report(), and updated_record().
gchar message2[1000] |
Definition at line 89 of file atmCOMPLETE.c.
Referenced by count_deposit(), count_withdrawal(), display_row1(), and transfer_money().
gchar message3[1000] |
Definition at line 90 of file atmCOMPLETE.c.
Referenced by display_row1(), insert_report(), and updated_transfer_account().
gchar message4[1000] |
const char* new_password |
gchar new_user_pin[1000] |
Definition at line 94 of file atmCOMPLETE.c.
Referenced by display_row1(), and updated_password_record().
gchar newPass[1000] |
Definition at line 108 of file atmCOMPLETE.c.
Referenced by enter_function(), and get_focus_click().
gchar password[1000] |
Definition at line 107 of file atmCOMPLETE.c.
gint record_bil = 0 |
gint record_no = 0 |
gchar record_transaction[1000] |
gchar record_user[1000] |
FILE* report_transaction |
FILE* report_user |
MYSQL_RES* result1 |
Definition at line 59 of file atmCOMPLETE.c.
Referenced by balance_function(), enter_function(), and main().
GtkWidget* separator |
GtkWidget* separator1 |
GtkWidget* separator2 |
struct sockaddr_in server_address |
MYSQL_ROW sqlrow |
Definition at line 60 of file atmCOMPLETE.c.
Referenced by balance_function(), count_deposit(), count_withdrawal(), create_report(), display_row1(), enter_function(), and transfer_money().
GtkWidget* table |
GtkWidget* table1 |
gfloat total_amount1 = 0.0 |
Definition at line 116 of file atmCOMPLETE.c.
Referenced by count_deposit(), count_withdrawal(), transfer_money(), and updated_record().
const char* total_amount_new |
Definition at line 153 of file atmCOMPLETE.c.
gchar trans_amount[1000] |
Definition at line 131 of file atmCOMPLETE.c.
gfloat trans_amount1 = 0.0 |
Definition at line 132 of file atmCOMPLETE.c.
Referenced by insert_report(), transfer_money(), and updated_transfer_account().
gchar trans_balance[1000] |
Definition at line 97 of file atmCOMPLETE.c.
Referenced by display_row1(), and updated_transfer_account().
gfloat trans_balance1 = 0.0 |
gchar trans_status[1000] |
Definition at line 96 of file atmCOMPLETE.c.
Referenced by count_deposit(), count_withdrawal(), insert_report(), transfer_money(), and updated_password_record().
gchar trans_type[1000] |
Definition at line 95 of file atmCOMPLETE.c.
Referenced by count_deposit(), count_withdrawal(), insert_report(), transfer_money(), and updated_password_record().
const char* transfer_account |
gint transfer_account1 = 0 |
const char* transfer_amount |
const char* user_pin |
gchar value[1000] |
gchar value2[1000] |
gchar value3[1000] |
gchar value4[1000] |
gchar value5[1000] |
gchar value6[1000] |
gchar value7[1000] |
GtkWidget* window |
gfloat withdraw_amount1 = 0.0 |
Definition at line 112 of file atmCOMPLETE.c.
Referenced by count_withdrawal(), and insert_report().
const char* withdraw_value |
Definition at line 151 of file atmCOMPLETE.c.
Referenced by count_withdrawal(), and enter_function().