author | Myhailo Danylenko <isbear@ukrpost.net> |
Mon, 20 Aug 2012 22:51:51 +0300 | |
changeset 58 | 694833145b98 |
parent 56 | f0e3c123d506 |
permissions | -rw-r--r-- |
56 | 1 |
|
2 |
# Service Discovery |
|
11 | 3 |
|
4 |
This is a module for mcabber to send service discovery requests. |
|
5 |
||
56 | 6 |
It provides mcabber command 'disco'. To use this module just load it - |
7 |
then command will be available. |
|
11 | 8 |
|
56 | 9 |
With this you can discover abilities of various jabber entities, like |
10 |
servers, transports etc. Note, that it can only provide information, |
|
11 |
what to do with this information (eg register to entity, that supports |
|
12 |
it) is not this module's task. Note also, that if you want to get |
|
13 |
abilities of some buddy, you should send disco request to specific |
|
14 |
resource of that buddy (because of this this command supports extended |
|
15 |
notation ./resource), if you'll send request to bare jid, you'll get |
|
16 |
reply from server, that serves that jid. |
|
11 | 17 |
|
58
694833145b98
Add a note about header
Myhailo Danylenko <isbear@ukrpost.net>
parents:
56
diff
changeset
|
18 |
Module also provides C header file, so that it's functionality can be |
694833145b98
Add a note about header
Myhailo Danylenko <isbear@ukrpost.net>
parents:
56
diff
changeset
|
19 |
used from other modules. |
694833145b98
Add a note about header
Myhailo Danylenko <isbear@ukrpost.net>
parents:
56
diff
changeset
|
20 |
|
56 | 21 |
# Installation |
11 | 22 |
|
23 |
To install it, you need: |
|
56 | 24 |
|
25 |
* mcabber headers |
|
26 |
* glib |
|
27 |
* loudmouth |
|
28 |
* cmake |
|
29 |
* make |
|
30 |
* c compiler (gcc) |
|
31 |
* linker (binutils) |
|
32 |
||
33 |
Then do: |
|
11 | 34 |
|
56 | 35 |
$ mkdir build |
36 |
$ cd build |
|
37 |
$ cmake .. |
|
38 |
$ make edit_cache |
|
39 |
$ make |
|
40 |
# make install |
|
41 |
||
42 |
Debian users can instead of make install do: |
|
11 | 43 |
|
56 | 44 |
$ make package |
45 |
# dpkg -i libmcabber-disco_*.deb |
|
11 | 46 |
|
56 | 47 |
Users of other distributions can select appropriate package generator, |
48 |
using cache editor. |
|
11 | 49 |
|
56 | 50 |
# License |
11 | 51 |
|
56 | 52 |
This code underlies terms of GNU GPL v2 or later. You can find it in |
53 |
file COPYING from this distribution or on a GNU web-site |
|
54 |
<http://www.gnu.org/licenses/>. |
|
11 | 55 |
|
56 | 56 |
# Contact |
11 | 57 |
|
58 |
I will be happy to get feedback, patches, suggestions, etc. |
|
59 |
You can send me email or contact via jabber <isbear@unixzone.org.ua>. |
|
60 |
||
61 |
-- Myhailo Danylenko <isbear@ukrpost.net> |
|
62 |