Commit | Line | Data |
---|---|---|
a24bd519 LM |
1 | #ifndef __STORAGE_H__ |
2 | #define __STORAGE_H__ | |
3 | ||
893638e2 | 4 | #include "tabular.h" |
a24bd519 | 5 | |
893638e2 | 6 | /* global variables */ |
a24bd519 | 7 | |
893638e2 | 8 | extern tab_t *storage; |
a24bd519 LM |
9 | |
10 | /* storage functions */ | |
11 | ||
bdcb95da | 12 | int memory (int nb); |
893638e2 LM |
13 | double store (int id, double value); |
14 | double recall (int id); | |
15 | double increase (int id); | |
16 | double decrease (int id); | |
a24bd519 LM |
17 | void display (void); |
18 | void clear (); | |
19 | ||
20 | #endif /* __STORAGE_H__ */ | |
21 | ||
22 | /* vim: set ts=4 sw=4 et: */ |