comparison src/account.h @ 10740:94cc67130789

[gaim-migrate @ 12342] More big changes, yay. I combined gaim_connection_new and gaim_connection_connect. Earlier today I realized that it's dumb to have a GaimConnection that isn't connected. I'm about to combine gaim_connection_disconnect and gaim_connection_destroy, as well. I added a "password" field to GaimConnection. It holds the password used to login a specific GaimConnection. Now, when "remember password" is false, account->password is NEVER set. When the user tries to sign on and Gaim prompts for the password, it goes directly into the GaimConnection. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 26 Mar 2005 23:25:18 +0000
parents 55af3fa46329
children c80a609bd747
comparison
equal deleted inserted replaced
10739:42dbc4ba1325 10740:94cc67130789
111 111
112 /** 112 /**
113 * Connects to an account. 113 * Connects to an account.
114 * 114 *
115 * @param account The account to connect to. 115 * @param account The account to connect to.
116 * @param status The status the account should use when logging in. 116 */
117 * 117 void gaim_account_connect(GaimAccount *account);
118 * @return The gaim connection.
119 */
120 GaimConnection *gaim_account_connect(GaimAccount *account);
121 118
122 /** 119 /**
123 * Registers an account. 120 * Registers an account.
124 * 121 *
125 * @param account The account to register. 122 * @param account The account to register.
126 * 123 */
127 * @return The gaim connection. 124 void gaim_account_register(GaimAccount *account);
128 */
129 GaimConnection *gaim_account_register(GaimAccount *account);
130 125
131 /** 126 /**
132 * Disconnects from an account. 127 * Disconnects from an account.
133 * 128 *
134 * @param account The account to disconnect from. 129 * @param account The account to disconnect from.