X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=storage.h;fp=storage.h;h=896c264459fe78efc4dae5f4a45040615f6a7368;hb=bdcb95da42ef20e0385e0c0404cb25844c3bb137;hp=0000000000000000000000000000000000000000;hpb=2e58844c9f35afd43ef7de8aad26185861b15ff7;p=calc.git diff --git a/storage.h b/storage.h new file mode 100644 index 0000000..896c264 --- /dev/null +++ b/storage.h @@ -0,0 +1,22 @@ +#ifndef __STORAGE_H__ +#define __STORAGE_H__ + +#include "tabular.h" + +/* global variables */ + +extern tab_t *storage; + +/* storage functions */ + +int memory (int nb); +double store (int id, double value); +double recall (int id); +double increase (int id); +double decrease (int id); +void display (void); +void clear (); + +#endif /* __STORAGE_H__ */ + +/* vim: set ts=4 sw=4 et: */