Where can I find the definition of the function: static_proto_init ?
Wade Yin
wade.yinn at gmail.com
Sun Aug 12 05:13:17 EDT 2007
hi Mark,
yes I can find the following definition in file pidgin-2.x.x/config.h:
#define STATIC_PROTO_INIT static void static_proto_init() { }
and the function calling path: pidgin_main() -> purple_core_init() ->
static_proto_init()
but it looks that the function did nothing! ??
On 8/12/07, Mark Doliner <mark at kingant.net> wrote:
>
> On Thu, 9 Aug 2007 17:17:38 +0800, Wade Yin wrote
> > I just want to figure out when the protocol handler been
> > registred, such as msn_login().
> >
> > Is it in purple_core_init() -> static_proto_init()? But I can
> > find the function body in source.
> >
> > Any suggestion?
>
> I believe static_proto_init is constructed by configure.ac/configure and
> inserted into the top level config.h, which is then used in core.c just
> above
> purple_core_init().
>
> -Mark
>
--
---------
Regards,
Wade Yin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20070812/bdc35aae/attachment.html>
More information about the Devel
mailing list