[Gossip-dev] [PRE-PATCH] feature bundle manager

Julien PUYDT julien.puydt at laposte.net
Thu Dec 30 20:34:12 CET 2004


Hi,

the following pre-patch is a little feature bundle manager.

It serves two intents:
* when a part of gossip adds a feature bundle (canonical example: the
gnomemeeting-cooperation code will add the 'gm' feature bundle), it
should register itself to some common place that will advertize all
suchs bundles in presence (see JEP0115 and my caps-manager.patch
pre-patch): that manager is that place ;
* something needs to  handle disco requests about feature bundles ;
either the feature cache directly, or a manager... I put this in the
manager...

This feature bundle manager has no advertizing in it: I didn't want to
patch gossip's code too heavily during a branch merging, so I limited
myself to adding files and only a few lines to hook that code in gossip
(mostly calling the right _init function and adding the files in
src/Makefile.am). But it can serve requests quite well: I used my little
jabber helper python script to check that I was able to get information
(and an error when not available) about some imaginary features.

Snark

PS: of course, this pre-patch depends on the feature cache patch, since
it makes use of it...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gossip-jabber-feature-bundle-manager.patch
Type: text/x-patch
Size: 11983 bytes
Desc: not available
Url : http://lists.imendio.com/pipermail/gossip-dev/attachments/20041230/c4fac5df/gossip-jabber-feature-bundle-manager.bin


More information about the Gossip-dev mailing list