Revision 6d1ef619baf3d738285880ef745ddd512d6e97bb
Evan Schoenberg
evan.s at dreskin.net
Thu Jun 21 21:03:34 EDT 2007
Quoting Sean Egan <seanegan at gmail.com>:
> On 6/21/07, Andreas Monitzer <pidgin at monitzer.com> wrote:
>> That was already happening for the user name (which I reused), but I
>> couldn't find a password field (I had to add one for my code).
>
> Just look down to lines:
>
> char *username; /**< The username.
> */
> char *alias; /**< How you appear to yourself.
> */
> char *password; /**< The account password.
> */
>
>
>> The callback also states the point in time when it happens, and
>> whether it succeeded or not.
>
> Those are useful things to give to the callback. I think that the
> account passed into the register function should automatically be
> updated to all the correct fields and used, instead of passing fields
> from it back separately.
>
Oops, I'd forgotten about those, too. Yeah, setting those within the
libpurple registration callback and then pulling them out from the
account if needed makes good sense.
-Evan
More information about the Devel
mailing list