diff 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
line wrap: on
line diff
--- a/src/core.h	Fri May 30 04:13:58 2003 +0000
+++ b/src/core.h	Fri May 30 09:38:29 2003 +0000
@@ -42,7 +42,6 @@
 #include <glib.h>
 #include <gmodule.h>
 
-struct gaim_account;
 struct group;
 struct buddy;
 
@@ -69,7 +68,8 @@
 /* This is far too long to be practical, but MSN users are probably used to long aliases */
 #define SELF_ALIAS_LEN 400
 
-struct gaim_account {
+#if 0
+GaimAccount {
 	char username[64];
 	char alias[SELF_ALIAS_LEN]; 
 	char password[32];
@@ -83,15 +83,15 @@
 	/* buddy icon file */
 	char iconfile[256];
 
-	struct gaim_proxy_info *gpi;
 
-	struct gaim_connection *gc;
+	GaimConnection *gc;
 	gboolean connecting;
 
 	GSList *permit;
 	GSList *deny;
 	int permdeny;
 };
+#endif
 
 /* XXX Temporary, until we have better account-specific prefs. */
 #define GAIM_ACCOUNT_CHECK_MAIL(account) \
@@ -122,16 +122,16 @@
 extern void save_prefs();
 
 /* Functions in server.c */
-extern void serv_got_update(struct gaim_connection *, char *, int, int, time_t, time_t, int);
-extern void serv_got_im(struct gaim_connection *, const char *, const char *, guint32, time_t, gint);
-extern void serv_got_typing(struct gaim_connection *, char *, int, int);
-extern void serv_got_typing_stopped(struct gaim_connection *, char *);
-extern void serv_got_eviled(struct gaim_connection *, char *, int);
-extern void serv_got_chat_invite(struct gaim_connection *, char *, char *, char *, GHashTable *);
-extern struct gaim_conversation *serv_got_joined_chat(struct gaim_connection *, int, char *);
-extern void serv_got_chat_left(struct gaim_connection *, int);
-extern void serv_got_chat_in(struct gaim_connection *, int, char *, int, char *, time_t);
-extern void serv_got_alias(struct gaim_connection *, char *, char *);
+extern void serv_got_update(GaimConnection *, char *, int, int, time_t, time_t, int);
+extern void serv_got_im(GaimConnection *, const char *, const char *, guint32, time_t, gint);
+extern void serv_got_typing(GaimConnection *, char *, int, int);
+extern void serv_got_typing_stopped(GaimConnection *, char *);
+extern void serv_got_eviled(GaimConnection *, char *, int);
+extern void serv_got_chat_invite(GaimConnection *, char *, char *, char *, GHashTable *);
+extern struct gaim_conversation *serv_got_joined_chat(GaimConnection *, int, char *);
+extern void serv_got_chat_left(GaimConnection *, int);
+extern void serv_got_chat_in(GaimConnection *, int, char *, int, char *, time_t);
+extern void serv_got_alias(GaimConnection *, char *, char *);
 extern void serv_finish_login();
 
 #endif /* _CORE_H_ */