[Evolution-hackers] Programmatically configure an Evolution account



Hi all,
I'm writing a program that will allow a user to generate two
certificates, one for authentication and one for encryption. This
program is also supposed to configure the user's Evolution account to
use these certificates (ie s/mime settings). 
I found on the web site
(http://library.gnome.org/devel/libedataserver/stable/EAccount.html) a
couple of interesting things like e_account_(get|set)_string. Both takes
an EAccount_t and e_account_item_t. It seems e_account_item_t contains
what I want (E_ACCOUNT_SMIME_SIGN_KEY, E_ACCOUNT_SMIME_ENCRYPT_KEY). 
Those are the two fields I want to set in the EAccount_t struct. 

So I wonder how do I get the user's EAccount_t struct filled in in the
first place and does e_account_set_string work for setting the sign and
encrypt key?

Regards,
Johan




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