Contarius/include/entry.h

25 lines
525 B
C

/**
* @file entry.h
* Entry structure header file used in the program
*
* @todo Add the functions prototypes to this header
*/
#ifndef ENTRY_H
#define ENTRY_H
#include "money.h"
/**
* @struct entry
* @brief Struct representing an entry in the the T-Account
*/
typedef struct entry {
char *name; ///< Name of the entry
char *description; ///< Description of the entry
Money *value; ///< Monetary value of the Entry
struct entry *next; ///< Pointer to the next entry in the list of entries
} Entry;
#endif