2010-08-08 10:06:34 +02:00
|
|
|
#ifndef H_ATTRIBUTE_KEY
|
|
|
|
#define H_ATTRIBUTE_KEY
|
2017-01-10 18:20:47 +01:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2010-08-08 10:06:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2016-02-09 14:08:36 +01:00
|
|
|
struct attrib;
|
|
|
|
struct attrib_type;
|
2017-02-18 21:15:14 +01:00
|
|
|
extern struct attrib_type at_key; /* DEPRECATED: at_key has been replaced with at_keys */
|
2016-02-09 07:03:11 +01:00
|
|
|
extern struct attrib_type at_keys;
|
2010-08-08 10:06:34 +02:00
|
|
|
|
2017-02-13 18:48:38 +01:00
|
|
|
void key_set(struct attrib **alist, int key, int value);
|
2016-02-09 06:43:19 +01:00
|
|
|
void key_unset(struct attrib **alist, int key);
|
2017-02-13 18:48:38 +01:00
|
|
|
int key_get(struct attrib *alist, int key);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|