Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/caps.h @ 1600:c5ee395fbc8c
Updated Entity Capabilities support (XEP-0115)
author | franky |
---|---|
date | Tue, 23 Sep 2008 10:59:25 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1599:dcd5d4c75199 | 1600:c5ee395fbc8c |
---|---|
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... */ |