comparison src/prpl.h @ 4491:3196d9044a45

[gaim-migrate @ 4766] aim_user is dead. long live gaim_account. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 31 Jan 2003 13:03:47 +0000
parents 0c68d402f59f
children 7521e29658bc
comparison
equal deleted inserted replaced
4490:70b892694e0b 4491:3196d9044a45
111 /* a lot of these (like get_dir) are protocol-dependent and should be removed. ones like 111 /* a lot of these (like get_dir) are protocol-dependent and should be removed. ones like
112 * set_dir (which is also protocol-dependent) can stay though because there's a dialog 112 * set_dir (which is also protocol-dependent) can stay though because there's a dialog
113 * (i.e. the prpl says you can set your dir info, the ui shows a dialog and needs to call 113 * (i.e. the prpl says you can set your dir info, the ui shows a dialog and needs to call
114 * set_dir in order to set it) */ 114 * set_dir in order to set it) */
115 115
116 void (* login) (struct aim_user *); 116 void (* login) (struct gaim_account *);
117 void (* close) (struct gaim_connection *); 117 void (* close) (struct gaim_connection *);
118 int (* send_im) (struct gaim_connection *, char *who, char *message, int len, int away); 118 int (* send_im) (struct gaim_connection *, char *who, char *message, int len, int away);
119 void (* set_info) (struct gaim_connection *, char *info); 119 void (* set_info) (struct gaim_connection *, char *info);
120 int (* send_typing) (struct gaim_connection *, char *name, int typing); 120 int (* send_typing) (struct gaim_connection *, char *name, int typing);
121 void (* get_info) (struct gaim_connection *, char *who); 121 void (* get_info) (struct gaim_connection *, char *who);
156 void (* chat_whisper) (struct gaim_connection *, int id, char *who, char *message); 156 void (* chat_whisper) (struct gaim_connection *, int id, char *who, char *message);
157 int (* chat_send) (struct gaim_connection *, int id, char *message); 157 int (* chat_send) (struct gaim_connection *, int id, char *message);
158 void (* keepalive) (struct gaim_connection *); 158 void (* keepalive) (struct gaim_connection *);
159 159
160 /* new user registration */ 160 /* new user registration */
161 void (* register_user) (struct aim_user *); 161 void (* register_user) (struct gaim_account *);
162 162
163 /* get "chat buddy" info and away message */ 163 /* get "chat buddy" info and away message */
164 void (* get_cb_info) (struct gaim_connection *, int, char *who); 164 void (* get_cb_info) (struct gaim_connection *, int, char *who);
165 void (* get_cb_away) (struct gaim_connection *, int, char *who); 165 void (* get_cb_away) (struct gaim_connection *, int, char *who);
166 166