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 |
|
56
|
18 |
# Installation |
11
|
19 |
|
|
20 |
To install it, you need: |
56
|
21 |
|
|
22 |
* mcabber headers |
|
23 |
* glib |
|
24 |
* loudmouth |
|
25 |
* cmake |
|
26 |
* make |
|
27 |
* c compiler (gcc) |
|
28 |
* linker (binutils) |
|
29 |
|
|
30 |
Then do: |
11
|
31 |
|
56
|
32 |
$ mkdir build |
|
33 |
$ cd build |
|
34 |
$ cmake .. |
|
35 |
$ make edit_cache |
|
36 |
$ make |
|
37 |
# make install |
|
38 |
|
|
39 |
Debian users can instead of make install do: |
11
|
40 |
|
56
|
41 |
$ make package |
|
42 |
# dpkg -i libmcabber-disco_*.deb |
11
|
43 |
|
56
|
44 |
Users of other distributions can select appropriate package generator, |
|
45 |
using cache editor. |
11
|
46 |
|
56
|
47 |
# License |
11
|
48 |
|
56
|
49 |
This code underlies terms of GNU GPL v2 or later. You can find it in |
|
50 |
file COPYING from this distribution or on a GNU web-site |
|
51 |
<http://www.gnu.org/licenses/>. |
11
|
52 |
|
56
|
53 |
# Contact |
11
|
54 |
|
|
55 |
I will be happy to get feedback, patches, suggestions, etc. |
|
56 |
You can send me email or contact via jabber <isbear@unixzone.org.ua>. |
|
57 |
|
|
58 |
-- Myhailo Danylenko <isbear@ukrpost.net> |
|
59 |
|