Mercurial > pidgin.yaz
view src/dbus-define-api.h @ 11211:03a244acce57
[gaim-migrate @ 13342]
(14:28:27) Christopher O'Brien (siege): ArdentlyGnarly, gaim_proxy_connect's docs lie
(14:28:36) Christopher O'Brien (siege): it doesn't return a fd
(14:28:52) Christopher O'Brien (siege): it returns a status code
...
(14:37:58) rlaager: siege, ArdentlyGnarly: We should correct the docs for gaim_proxy_connect... how does this sound? "@return zero for success, any other value for failure"
...
(14:39:22) Jonathan Clark (ArdentlyGnarly): we really don't know whether or not the call was successful at the time it returns
(14:39:55) Jonathan Clark (ArdentlyGnarly): we get that information when things get back around to the callback passed to gaim_proxy_connect
(14:42:08) Jonathan Clark (ArdentlyGnarly): perhaps: @return zero indicates connection is pending, any other value for failure
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 08 Aug 2005 19:45:28 +0000 |
parents | 1c5398ccbeb0 |
children | 8bda65b88e49 |
line wrap: on
line source
#error "This is file is not a valid C code" /* This file contains some of the macros from other header files as function declarations. This does not make sense in C, but it provides type information for the dbus-analyze-functions.py program, which makes these macros callable by DBUS. */ /* blist.h */ gboolean GAIM_BLIST_NODE_IS_CHAT(GaimBlistNode *node); gboolean GAIM_BLIST_NODE_IS_BUDDY(GaimBlistNode *node); gboolean GAIM_BLIST_NODE_IS_CONTACT(GaimBlistNode *node); gboolean GAIM_BLIST_NODE_IS_GROUP(GaimBlistNode *node); gboolean GAIM_BUDDY_IS_ONLINE(GaimBuddy *buddy); gboolean GAIM_BLIST_NODE_HAS_FLAG(GaimBlistNode *node, int flags); gboolean GAIM_BLIST_NODE_SHOULD_SAVE(GaimBlistNode *node); /* connection.h */ gboolean GAIM_CONNECTION_IS_CONNECTED(GaimConnection *connection); gboolean GAIM_CONNECTION_IS_VALID(GaimConnection *connection); /* conversation.h */ GaimConvIm *GAIM_CONV_IM(const GaimConversation *conversation); GaimConvIm *GAIM_CONV_CHAT(const GaimConversation *conversation);