Mercurial > pidgin
comparison src/protocols/oscar/admin.c @ 2703:441b84ab7f4e
[gaim-migrate @ 2716]
it's not what you think
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 10 Nov 2001 01:48:17 +0000 |
| parents | c41030cfed76 |
| children | 8e924e4aa256 |
comparison
equal
deleted
inserted
replaced
| 2702:94b4271b9567 | 2703:441b84ab7f4e |
|---|---|
| 85 mod->snachandler = snachandler; | 85 mod->snachandler = snachandler; |
| 86 | 86 |
| 87 return 0; | 87 return 0; |
| 88 } | 88 } |
| 89 | 89 |
| 90 faim_export int aim_auth_changepasswd(aim_session_t *sess, aim_conn_t *conn, const char *newpw, const char *curpw) | 90 faim_export int aim_admin_changepasswd(aim_session_t *sess, aim_conn_t *conn, const char *newpw, const char *curpw) |
| 91 { | 91 { |
| 92 aim_frame_t *tx; | 92 aim_frame_t *tx; |
| 93 aim_tlvlist_t *tl = NULL; | 93 aim_tlvlist_t *tl = NULL; |
| 94 aim_snacid_t snacid; | 94 aim_snacid_t snacid; |
| 95 | 95 |
| 119 * This will cause an email to be sent to the address associated with | 119 * This will cause an email to be sent to the address associated with |
| 120 * the account. By following the instructions in the mail, you can | 120 * the account. By following the instructions in the mail, you can |
| 121 * get the TRIAL flag removed from your account. | 121 * get the TRIAL flag removed from your account. |
| 122 * | 122 * |
| 123 */ | 123 */ |
| 124 faim_export int aim_auth_reqconfirm(aim_session_t *sess, aim_conn_t *conn) | 124 faim_export int aim_admin_reqconfirm(aim_session_t *sess, aim_conn_t *conn) |
| 125 { | 125 { |
| 126 return aim_genericreq_n(sess, conn, 0x0007, 0x0006); | 126 return aim_genericreq_n(sess, conn, 0x0007, 0x0006); |
| 127 } | 127 } |
| 128 | 128 |
| 129 /* | 129 /* |
| 130 * Request a bit of account info. | 130 * Request a bit of account info. |
| 131 * | 131 * |
| 132 * The only known valid tag is 0x0011 (email address). | 132 * The only known valid tag is 0x0011 (email address). |
| 133 * | 133 * |
| 134 */ | 134 */ |
| 135 faim_export int aim_auth_getinfo(aim_session_t *sess, aim_conn_t *conn, fu16_t info) | 135 faim_export int aim_admin_getinfo(aim_session_t *sess, aim_conn_t *conn, fu16_t info) |
| 136 { | 136 { |
| 137 aim_frame_t *tx; | 137 aim_frame_t *tx; |
| 138 aim_snacid_t snacid; | 138 aim_snacid_t snacid; |
| 139 | 139 |
| 140 if (!(tx = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 14))) | 140 if (!(tx = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 14))) |
| 149 aim_tx_enqueue(sess, tx); | 149 aim_tx_enqueue(sess, tx); |
| 150 | 150 |
| 151 return 0; | 151 return 0; |
| 152 } | 152 } |
| 153 | 153 |
| 154 faim_export int aim_auth_setemail(aim_session_t *sess, aim_conn_t *conn, const char *newemail) | 154 faim_export int aim_admin_setemail(aim_session_t *sess, aim_conn_t *conn, const char *newemail) |
| 155 { | 155 { |
| 156 aim_frame_t *tx; | 156 aim_frame_t *tx; |
| 157 aim_snacid_t snacid; | 157 aim_snacid_t snacid; |
| 158 aim_tlvlist_t *tl = NULL; | 158 aim_tlvlist_t *tl = NULL; |
| 159 | 159 |
| 170 | 170 |
| 171 aim_tx_enqueue(sess, tx); | 171 aim_tx_enqueue(sess, tx); |
| 172 | 172 |
| 173 return 0; | 173 return 0; |
| 174 } | 174 } |
| 175 |
