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