Mathematic Expressions Library  0.1
The core math data structures and manipulators
workspace.h
Go to the documentation of this file.
1 
7 #ifndef _WORKSPACE_H_
8 #define _WORKSPACE_H_
9 
10 #define WORKSPACE_NAME_SIZE 10
11 #define WORKSPACE_SIZE 10
12 
14 #define WORKSPACE_NOTSET ((void *)(long)(-1))
15 
17 #define WORKSPACE_OK 0
18 #define WORKSPACE_FULL 1
20 #define WORKSPACE_NAME 2
22 
27 void
28 workspace_init(void);
29 
30 int
31 workspace_set(char *name, void *data);
32 
33 void
34 workspace_unset(char *name);
35 
36 void *
37 workspace_get(char *name);
38 
39 #endif /* _WORKSPACE_H_ */
40 
41 /* vim: set ts=4 sw=4 expandtab: */
void workspace_init(void)
Resets all workspace entries to unset.
Definition: workspace.c:32
int workspace_set(char *name, void *data)
Definition: workspace.c:107
void * workspace_get(char *name)
Definition: workspace.c:151
void workspace_unset(char *name)
Definition: workspace.c:141