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