Yahoo! Protocol and signals

Etan Reisner pidgin at unreliablesource.net
Fri May 8 11:54:34 EDT 2009


On Fri, May 08, 2009 at 11:59:01AM +0400, GS wrote:
> On Fri, May 8, 2009 at 1:22 AM, Etan Reisner <pidgin at unreliablesource.net>wrote:
>
> > On Mon, May 04, 2009 at 10:47:19PM +0400, GS wrote:
> > > The yahoo protocol plugin doesn't emit any signals and I need to make a
> > > plugin based on it. Any chance for implementing signals later on ? Can I
> > > submit a patch ?
> >
> > What sort of signals would you want it to emit? What would you want to do
> > with those signals? Do none of the existing libpurple or pidgin signals do
> > what you need? What sort of plugin are you intending on making? Keep in
> > mind that plugins can't (officially) call prpl specific functions.
> >
> Hmmm... I don't think you'll like this guys. But I want to make an
> invisibility detection plugin. And I just need to 'peek' at the coming bytes
> as I already can send using send_raw(). If this plugin is not gonna reach
> the plugin page then no problem. But I really wanna make this.
> I saw the XMPP console plugin and it registers a functions with the
> receiving signal of the XMPP protocol plugin. Didn't find one in the yahoo
> plugin.
>
> >    -Etan
> >

The Yahoo prpl doesn't expose a send_raw function. Presumably because
there isnt a simple raw format that can be used (though possibly just
because no one saw a need to expose one).

Similarly, if there is no exposed way to send raw data then there is
little-to-no reason to expose raw received data by things like a
yahoo-receiving signal.

I don't know enough about Yahoo to say whether we should have either of
those, but at the moment we don't.

    -Etan




More information about the Devel mailing list