| 24 |
24 |
| 25 #include "core.h" |
25 #include "core.h" |
| 26 |
26 |
| 27 /* ok. now the fun begins. first we create a connection structure */ |
27 /* ok. now the fun begins. first we create a connection structure */ |
| 28 struct gaim_connection { |
28 struct gaim_connection { |
| 29 int edittype; /* CUI: this is ui-specific and should be removed */ |
29 int edittype; /* XXX CUI: this is ui-specific and should be removed */ |
| 30 |
30 |
| 31 /* we need to do either oscar or TOC */ |
31 /* we need to do either oscar or TOC */ |
| 32 /* we make this as an int in case if we want to add more protocols later */ |
32 /* we make this as an int in case if we want to add more protocols later */ |
| 33 int protocol; |
33 int protocol; |
| 34 struct prpl *prpl; |
34 struct prpl *prpl; |
| 52 struct aim_user *user; |
52 struct aim_user *user; |
| 53 |
53 |
| 54 char username[64]; |
54 char username[64]; |
| 55 char displayname[128]; |
55 char displayname[128]; |
| 56 char password[32]; |
56 char password[32]; |
| 57 int options; /* same as aim_user options */ |
|
| 58 guint keepalive; |
57 guint keepalive; |
| 59 /* stuff needed for per-connection idle times */ |
58 /* stuff needed for per-connection idle times */ |
| 60 guint idle_timer; /* CUI: we need to figure out what to do about idle reporting */ |
59 guint idle_timer; |
| 61 time_t login_time; |
60 time_t login_time; |
| 62 time_t lastsent; |
61 time_t lastsent; |
| 63 int is_idle; |
62 int is_idle; |
| 64 time_t correction_time; |
63 time_t correction_time; |
| 65 |
64 |