brmbar-github/itemio.h
Cestmir Houska 8b49a62f9e Itemio: Items can be loaded from the data file
Signed-off-by: Cestmir Houska <czestmyr@gmail.com>
2011-04-22 03:09:31 +02:00

19 lines
262 B
C

#ifndef _BRMBAR_ITEMIO_H_
#define _BRMBAR_ITEMIO_H_
#include "defines.h"
struct item {
char ean[EAN_MAXLEN];
char name[NAME_MAXLEN];
int price;
};
extern int items_count;
extern struct item items[ITEM_MAXNUM];
extern void fill_items();
#endif