server/src/attributes/key.h

22 lines
484 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef H_ATTRIBUTE_KEY
#define H_ATTRIBUTE_KEY
#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;
extern struct attrib_type at_key; /* DEPRECATED: at_key has been replaced with at_keys */
extern struct attrib_type at_keys;
2010-08-08 10:06:34 +02:00
void key_set(struct attrib **alist, int key, int value);
void key_unset(struct attrib **alist, int key);
int key_get(struct attrib *alist, int key);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif