1600
|
1 #ifndef __CAPS_H__
|
|
2 #define __CAPS_H__ 1
|
|
3
|
|
4 #include <glib.h>
|
|
5
|
|
6 void caps_init(void);
|
|
7 void caps_free(void);
|
|
8 void caps_add(char *hash);
|
|
9 int caps_has_hash(const char *hash);
|
|
10 void caps_set_identity(char *hash,
|
|
11 const char *category,
|
|
12 const char *name,
|
|
13 const char *type);
|
|
14 void caps_add_feature(char *hash, const char *feature);
|
|
15 int caps_has_feature(char *hash, char *feature);
|
|
16 void caps_foreach_feature(const char *hash, GFunc func, gpointer user_data);
|
|
17
|
|
18 char *caps_generate(void);
|
|
19
|
|
20 #endif /* __CAPS_H__ */
|
|
21
|
|
22 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */
|