Changes in protocols/nogaim.h [5b52a48:fb62f81f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.h
r5b52a48 rfb62f81f 39 39 40 40 #include "bitlbee.h" 41 #include "account.h"42 41 #include "proxy.h" 43 42 #include "md5.h" … … 64 63 struct gaim_connection 65 64 { 66 account_t *acc;65 struct prpl *prpl; 67 66 guint32 flags; 68 67 … … 79 78 GSList *deny; 80 79 int permdeny; 80 81 struct aim_user *user; 81 82 82 83 char username[64]; … … 125 126 }; 126 127 128 struct aim_user { 129 char username[64]; 130 char alias[SELF_ALIAS_LEN]; 131 char password[32]; 132 char user_info[2048]; 133 int options; 134 struct prpl *prpl; 135 /* prpls can use this to save information about the user, 136 * like which server to connect to, etc */ 137 char proto_opt[7][256]; 138 139 struct gaim_connection *gc; 140 irc_t *irc; 141 }; 142 127 143 struct prpl { 128 144 int options; 129 145 const char *name; 130 146 131 void (* acc_init) (account_t *); 132 void (* login) (account_t *); 147 void (* login) (struct aim_user *); 133 148 void (* keepalive) (struct gaim_connection *); 134 149 void (* close) (struct gaim_connection *); … … 165 180 166 181 /* Mainly for AOL, since they think "Bung hole" == "Bu ngho le". *sigh* */ 167 int (* handle_cmp) (const char *who1, const char *who2);182 int (* cmp_buddynames) (const char *who1, const char *who2); 168 183 }; 169 184 … … 191 206 192 207 void nogaim_init(); 193 char *set_eval_away_devoice( set_t *set, char *value );194 195 gboolean auto_reconnect( gpointer data , gint fd, b_input_condition cond);208 char *set_eval_away_devoice( irc_t *irc, set_t *set, char *value ); 209 210 gboolean auto_reconnect( gpointer data ); 196 211 void cancel_auto_reconnect( struct account *a ); 197 212 198 213 /* multi.c */ 199 G_MODULE_EXPORT struct gaim_connection *new_gaim_conn( account_t *acc);214 G_MODULE_EXPORT struct gaim_connection *new_gaim_conn( struct aim_user *user ); 200 215 G_MODULE_EXPORT void destroy_gaim_conn( struct gaim_connection *gc ); 201 216 G_MODULE_EXPORT void set_login_progress( struct gaim_connection *gc, int step, char *msg );
Note: See TracChangeset
for help on using the changeset viewer.