Contarius/include/taccount.h

24 lines
469 B
C

/**
* @file taccount.h
* TAccount structure header file used in the program
*/
#ifndef TACCOUNT_H
#define TACCOUNT_H
#include "account.h"
/**
* @struct taccount
* @brief Struct representing an T-Account
*/
typedef struct taccount {
Account *credits; ///< credits account
Account *debits; ///< debits account
} TAccount;
TAccount *initializeTAccount();
void destroyTAccount(TAccount *taccount);
Account *getListAccountsPointers(TAccount *tAccount);
#endif