comparison src/core.h @ 5563:9eb5b13fd412

[gaim-migrate @ 5965] Just a taste of what's coming. Standard "This won't compile" thing. Plugin authors, you're going to hate me, but that's okay, because I have friends too! It's really late. My brain resembles that of fish swimming in jello pudding with neon lights flying around chanting musicals. I'm not on drugs. I'm just that tired. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 09:38:29 +0000
parents 7a64114641c3
children 4e2ffa3d9094
comparison
equal deleted inserted replaced
5562:3c8d34574601 5563:9eb5b13fd412
40 #include <stdio.h> 40 #include <stdio.h>
41 #include <time.h> 41 #include <time.h>
42 #include <glib.h> 42 #include <glib.h>
43 #include <gmodule.h> 43 #include <gmodule.h>
44 44
45 struct gaim_account;
46 struct group; 45 struct group;
47 struct buddy; 46 struct buddy;
48 47
49 48
50 #include "debug.h" 49 #include "debug.h"
67 #define UC_UNAVAILABLE 1 66 #define UC_UNAVAILABLE 1
68 67
69 /* This is far too long to be practical, but MSN users are probably used to long aliases */ 68 /* This is far too long to be practical, but MSN users are probably used to long aliases */
70 #define SELF_ALIAS_LEN 400 69 #define SELF_ALIAS_LEN 400
71 70
72 struct gaim_account { 71 #if 0
72 GaimAccount {
73 char username[64]; 73 char username[64];
74 char alias[SELF_ALIAS_LEN]; 74 char alias[SELF_ALIAS_LEN];
75 char password[32]; 75 char password[32];
76 char user_info[2048]; 76 char user_info[2048];
77 int options; 77 int options;
81 char proto_opt[7][256]; 81 char proto_opt[7][256];
82 82
83 /* buddy icon file */ 83 /* buddy icon file */
84 char iconfile[256]; 84 char iconfile[256];
85 85
86 struct gaim_proxy_info *gpi;
87 86
88 struct gaim_connection *gc; 87 GaimConnection *gc;
89 gboolean connecting; 88 gboolean connecting;
90 89
91 GSList *permit; 90 GSList *permit;
92 GSList *deny; 91 GSList *deny;
93 int permdeny; 92 int permdeny;
94 }; 93 };
94 #endif
95 95
96 /* XXX Temporary, until we have better account-specific prefs. */ 96 /* XXX Temporary, until we have better account-specific prefs. */
97 #define GAIM_ACCOUNT_CHECK_MAIL(account) \ 97 #define GAIM_ACCOUNT_CHECK_MAIL(account) \
98 ((account)->options & OPT_ACCT_MAIL_CHECK) 98 ((account)->options & OPT_ACCT_MAIL_CHECK)
99 99
120 extern void load_prefs(); 120 extern void load_prefs();
121 extern void load_pounces(); 121 extern void load_pounces();
122 extern void save_prefs(); 122 extern void save_prefs();
123 123
124 /* Functions in server.c */ 124 /* Functions in server.c */
125 extern void serv_got_update(struct gaim_connection *, char *, int, int, time_t, time_t, int); 125 extern void serv_got_update(GaimConnection *, char *, int, int, time_t, time_t, int);
126 extern void serv_got_im(struct gaim_connection *, const char *, const char *, guint32, time_t, gint); 126 extern void serv_got_im(GaimConnection *, const char *, const char *, guint32, time_t, gint);
127 extern void serv_got_typing(struct gaim_connection *, char *, int, int); 127 extern void serv_got_typing(GaimConnection *, char *, int, int);
128 extern void serv_got_typing_stopped(struct gaim_connection *, char *); 128 extern void serv_got_typing_stopped(GaimConnection *, char *);
129 extern void serv_got_eviled(struct gaim_connection *, char *, int); 129 extern void serv_got_eviled(GaimConnection *, char *, int);
130 extern void serv_got_chat_invite(struct gaim_connection *, char *, char *, char *, GHashTable *); 130 extern void serv_got_chat_invite(GaimConnection *, char *, char *, char *, GHashTable *);
131 extern struct gaim_conversation *serv_got_joined_chat(struct gaim_connection *, int, char *); 131 extern struct gaim_conversation *serv_got_joined_chat(GaimConnection *, int, char *);
132 extern void serv_got_chat_left(struct gaim_connection *, int); 132 extern void serv_got_chat_left(GaimConnection *, int);
133 extern void serv_got_chat_in(struct gaim_connection *, int, char *, int, char *, time_t); 133 extern void serv_got_chat_in(GaimConnection *, int, char *, int, char *, time_t);
134 extern void serv_got_alias(struct gaim_connection *, char *, char *); 134 extern void serv_got_alias(GaimConnection *, char *, char *);
135 extern void serv_finish_login(); 135 extern void serv_finish_login();
136 136
137 #endif /* _CORE_H_ */ 137 #endif /* _CORE_H_ */