#ifndef __deposit_h #define __deposit_h int tr_Deposit(char *cardNumber, int cashORcheck); /*-------------------------------------------------------------- * tr_Deposit() * * Description: Execute a deposit to a user account * if the user has more than 9 accounts attached to the card * only the first 9 are accessible from the abm * * Module: tr - transaction * * Arguments: * cardNumber - card # in integer form * cashORcheck - 0 cash, 1 check * * Return values: * 0 - no errors * 1 - no accounts attached to this card * 2 - error retrieving account information *--------------------------------------------------------------*/ long int tr_GetDepositAmount(); /*-------------------------------------------------------------- * tr_GetDepositAmount() * * Description: Get amount to deposit from the user * * Module: tr - transaction * * Arguments: * none * * Return values: * -1 - user cancelled * >0 - return actual amount to deposit * 100 *--------------------------------------------------------------*/ #endif