[Evolution-hackers] camel api change, get password/forget password




Hi guys,

For some stuff for groupwise connector i've put code in camel to change the get_password/forget_password calls in camel-session, to add a 'password domain' argument, which is used as the component name to e_passwords_get_password, etc if supplied.

While i was there i rearranged the arguments a little more sanely too - its gonna break the build, may as well fix other things at the same time.

This is the new api:
char *             camel_session_get_password       (CamelSession *session,
                                                     CamelService *service,
                                                     const char *domain,
                                                     const char *prompt,
                                                     const char *item,
                                                     guint32 flags,
                                                     CamelException *ex);
void               camel_session_forget_password    (CamelSession *session,
                                                     CamelService *service,
                                                     const char *domain,
                                                     const char *item,
                                                     CamelException *ex);

In hindsight item should always follow domain; oh well.

This'll break exchange builds till its fixed htere, but its only a simple fix (i was gonna fix it, but i just dont have the time right now).

Cheers n avagoodweekend,
Michael

Michael Zucchi <notzed ximian com>

Ximian Evolution and Free Software Developer


Novell, Inc.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]