Mercurial > pidgin.yaz
comparison src/protocols/irc/irc.c @ 7118:bf630f7dfdcd
[gaim-migrate @ 7685]
Here's a commit that I think will make faceprint happy. GaimWindow ->
GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat,
GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin
authors are going to hunt me down and murder me. I can feel it..
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 02 Oct 2003 02:54:07 +0000 |
parents | 083d1e4a9c78 |
children | 5c03e3e0d451 |
comparison
equal
deleted
inserted
replaced
7117:943085b0ff8b | 7118:bf630f7dfdcd |
---|---|
41 static GList *irc_away_states(GaimConnection *gc); | 41 static GList *irc_away_states(GaimConnection *gc); |
42 /* static GList *irc_chat_info(GaimConnection *gc); */ | 42 /* static GList *irc_chat_info(GaimConnection *gc); */ |
43 static void irc_login(GaimAccount *account); | 43 static void irc_login(GaimAccount *account); |
44 static void irc_login_cb(gpointer data, gint source, GaimInputCondition cond); | 44 static void irc_login_cb(gpointer data, gint source, GaimInputCondition cond); |
45 static void irc_close(GaimConnection *gc); | 45 static void irc_close(GaimConnection *gc); |
46 static int irc_im_send(GaimConnection *gc, const char *who, const char *what, GaimImFlags flags); | 46 static int irc_im_send(GaimConnection *gc, const char *who, const char *what, GaimConvImFlags flags); |
47 static int irc_chat_send(GaimConnection *gc, int id, const char *what); | 47 static int irc_chat_send(GaimConnection *gc, int id, const char *what); |
48 static void irc_chat_join (GaimConnection *gc, GHashTable *data); | 48 static void irc_chat_join (GaimConnection *gc, GHashTable *data); |
49 static void irc_input_cb(gpointer data, gint source, GaimInputCondition cond); | 49 static void irc_input_cb(gpointer data, gint source, GaimInputCondition cond); |
50 | 50 |
51 static guint irc_nick_hash(const char *nick); | 51 static guint irc_nick_hash(const char *nick); |
243 g_string_free(irc->motd, TRUE); | 243 g_string_free(irc->motd, TRUE); |
244 g_free(irc->server); | 244 g_free(irc->server); |
245 g_free(irc); | 245 g_free(irc); |
246 } | 246 } |
247 | 247 |
248 static int irc_im_send(GaimConnection *gc, const char *who, const char *what, GaimImFlags flags) | 248 static int irc_im_send(GaimConnection *gc, const char *who, const char *what, GaimConvImFlags flags) |
249 { | 249 { |
250 struct irc_conn *irc = gc->proto_data; | 250 struct irc_conn *irc = gc->proto_data; |
251 const char *args[2]; | 251 const char *args[2]; |
252 | 252 |
253 if (*who == '@' || *who == '%' || *who == '+') | 253 if (*who == '@' || *who == '%' || *who == '+') |