comparison src/gaim.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 d76095396a0e
children 9df99116840a
comparison
equal deleted inserted replaced
4490:70b892694e0b 4491:3196d9044a45
149 #else 149 #else
150 # define N_(String) (String) 150 # define N_(String) (String)
151 # define _(x) (x) 151 # define _(x) (x)
152 #endif 152 #endif
153 153
154 #define OPT_USR_AUTO 0x00000001 154 #define OPT_ACCT_AUTO 0x00000001
155 /*#define OPT_USR_KEEPALV 0x00000002 this shouldn't be optional */ 155 /*#define OPT_ACCT_KEEPALV 0x00000002 this shouldn't be optional */
156 #define OPT_USR_REM_PASS 0x00000004 156 #define OPT_ACCT_REM_PASS 0x00000004
157 #define OPT_USR_MAIL_CHECK 0x00000008 157 #define OPT_ACCT_MAIL_CHECK 0x00000008
158 /*do not use OPT_USR 0x00000010 talk to robot101 about automatic 158 /*do not use OPT_ACCT 0x00000010 talk to robot101 about automatic
159 name stuff with this option 159 name stuff with this option
160 */ 160 */
161 161
162 #define DEFAULT_INFO "Visit the Gaim website at <A HREF=\"http://gaim.sourceforge.net/\">http://gaim.sourceforge.net/</A>." 162 #define DEFAULT_INFO "Visit the Gaim website at <A HREF=\"http://gaim.sourceforge.net/\">http://gaim.sourceforge.net/</A>."
163 163
349 #define OPT_AWAY_DELAY_IN_USE 0x00000100 349 #define OPT_AWAY_DELAY_IN_USE 0x00000100
350 350
351 extern guint away_resend; 351 extern guint away_resend;
352 extern int report_idle; 352 extern int report_idle;
353 extern int web_browser; 353 extern int web_browser;
354 extern GSList *aim_users; 354 extern GSList *gaim_accounts;
355 extern GSList *message_queue; 355 extern GSList *message_queue;
356 extern GSList *unread_message_queue; 356 extern GSList *unread_message_queue;
357 extern GSList *away_time_queue; 357 extern GSList *away_time_queue;
358 extern char sound_cmd[2048]; 358 extern char sound_cmd[2048];
359 extern char web_command[2048]; 359 extern char web_command[2048];
413 /* Functions in prefs.c */ 413 /* Functions in prefs.c */
414 extern void debug_printf(char * fmt, ...) G_GNUC_PRINTF(1,2); 414 extern void debug_printf(char * fmt, ...) G_GNUC_PRINTF(1,2);
415 415
416 /* Functions in server.c */ 416 /* Functions in server.c */
417 /* input to serv */ 417 /* input to serv */
418 extern void serv_login(struct aim_user *); 418 extern void serv_login(struct gaim_account *);
419 extern void serv_close(struct gaim_connection *); 419 extern void serv_close(struct gaim_connection *);
420 extern void serv_touch_idle(struct gaim_connection *); 420 extern void serv_touch_idle(struct gaim_connection *);
421 extern int serv_send_im(struct gaim_connection *, char *, char *, int, int); 421 extern int serv_send_im(struct gaim_connection *, char *, char *, int, int);
422 extern void serv_get_info(struct gaim_connection *, char *); 422 extern void serv_get_info(struct gaim_connection *, char *);
423 extern void serv_get_dir(struct gaim_connection *, char *); 423 extern void serv_get_dir(struct gaim_connection *, char *);
456 extern void frombase64(const char *, char **, int *); 456 extern void frombase64(const char *, char **, int *);
457 extern void clean_pid(); 457 extern void clean_pid();
458 extern char *date(); 458 extern char *date();
459 extern gint linkify_text(char *); 459 extern gint linkify_text(char *);
460 extern char *sec_to_text(guint); 460 extern char *sec_to_text(guint);
461 extern struct aim_user *find_user(const char *, int) G_GNUC_PURE; 461 extern struct gaim_account *gaim_account_find(const char *, int) G_GNUC_PURE;
462 extern char *full_date() G_GNUC_PURE; 462 extern char *full_date() G_GNUC_PURE;
463 extern void check_gaim_versions(); 463 extern void check_gaim_versions();
464 extern char *away_subs(char *, char *); 464 extern char *away_subs(char *, char *);
465 extern char *stylize(gchar *, int); 465 extern char *stylize(gchar *, int);
466 extern void show_usage (int, char *); 466 extern void show_usage (int, char *);
527 typedef struct multi_entry_dlg { 527 typedef struct multi_entry_dlg {
528 GtkWidget *window; /* dialog main window */ 528 GtkWidget *window; /* dialog main window */
529 gchar *role; /* window role */ 529 gchar *role; /* window role */
530 char *title; /* window title */ 530 char *title; /* window title */
531 531
532 struct aim_user *user; /* user info - needed for most everything */ 532 struct gaim_account *account; /* user info - needed for most everything */
533 533
534 MultiInstrData *instructions; /* instructions (what else?) */ 534 MultiInstrData *instructions; /* instructions (what else?) */
535 535
536 GtkWidget *entries_table; /* table widget containing m-e lables & entries */ 536 GtkWidget *entries_table; /* table widget containing m-e lables & entries */
537 GtkWidget *entries_frame; /* frame widget containing the table widget */ 537 GtkWidget *entries_frame; /* frame widget containing the table widget */