portability fixes
[rrq/rrqmisc.git] / logic / Binding.h
1 #ifndef Binding_H
2 #define Binding_H
3
4 #include <ItemKeyFun.h>
5
6 /**
7  * \brief A Binding is an association of a (var*) name with a (void*)
8  * value.
9  *
10  * A \b (void*)0 value marks an "unbound" value.
11  */
12 typedef struct Binding {
13     char *name;
14     void *value;
15 } Binding;
16
17 /**
18  * \brief This is the applicable ItemKeyFun callbacks for a Binding
19  * item.
20  */
21 extern ItemKeyFun Bindingitem;
22
23 #endif