AttributeType
Definition attribute.h:6
@ ATTR_DOUBLE
Definition attribute.h:6
@ ATTR_SET
Definition attribute.h:6
@ ATTR_UNKNOWN
Definition attribute.h:6
@ ATTR_STRING
Definition attribute.h:6
@ ATTR_INT
Definition attribute.h:6
void attribute_destroy(Attribute *attr)
Destroy an Attribute and free its memory.
Definition attribute.c:46
Attribute * attribute_create(const char *name, AttributeType type, void *value)
Create a new Attribute.
Definition attribute.c:31
void attribute_print(const Attribute *attr)
Print an Attribute to stdout.
Definition attribute.c:79
AttributeType type
Definition attribute.h:10
void * value
Definition attribute.h:11
char * name
Definition attribute.h:9