| Evolution API Reference: libedataserver, utility library | ||||
|---|---|---|---|---|
| Top | Description | ||||
EAccountIdentity;
EAccountService;
EAccount* e_account_new (void);
EAccount* e_account_new_from_xml (const char *xml);
gboolean e_account_set_from_xml (EAccount *account,
const char *xml);
void e_account_import (EAccount *dest,
EAccount *src);
char* e_account_to_xml (EAccount *account);
char* e_account_uid_from_xml (const char *xml);
typedef struct {
char *name;
char *address;
char *reply_to;
char *organization;
char *sig_uid;
} EAccountIdentity;
typedef struct {
char *url;
gboolean keep_on_server;
gboolean auto_check;
int auto_check_time;
gboolean save_passwd;
gboolean get_password_canceled;
} EAccountService;
EAccount* e_account_new (void);
Returns : |
a blank new account which can be filled in and added to an EAccountList. |
gboolean e_account_set_from_xml (EAccount *account, const char *xml);
Changes account to match xml.
void e_account_import (EAccount *dest, EAccount *src);
Import the settings from src to dest.
|
destination account object |
|
source account object |
char* e_account_to_xml (EAccount *account);
|
an EAccount |
Returns : |
an XML representation of account, which the caller
must free.
|
char* e_account_uid_from_xml (const char *xml);
|
an XML account description |
Returns : |
the permanent UID of the account described by xml
(or NULL if xml could not be parsed or did not contain a uid).
The caller must free this string.
|