Commit | Line | Data |
---|---|---|
1 | #ifndef __PROGRAM_H__ | |
2 | #define __PROGRAM_H__ | |
3 | ||
4 | #include "element.h" | |
5 | #include "tabular.h" | |
6 | #include "workspace.h" | |
7 | ||
8 | /* global variables */ | |
9 | ||
10 | extern workspace_t **programs; | |
11 | extern int nb_programs; | |
12 | ||
13 | /* program function */ | |
14 | ||
15 | void prog (int id, element_t *root); | |
16 | double call (int id, int nbargs, element_t **args); | |
17 | void list (); | |
18 | void edit (int id); | |
19 | void savestring (int id, char *string); | |
20 | void del (int id); | |
21 | ||
22 | #endif /* __PROGRAM_H__ */ | |
23 | ||
24 | /* vim: set ts=4 sw=4 et: */ |