comparison src/server.h @ 6982:083d1e4a9c78

[gaim-migrate @ 7538] This is Mr. Holland's Opus. And by Mr. Holland I mean Robot101. He rewrote the coreish IM image support so that the binary data gets ripped out in the prpl and put in an imgstore instead of just being passed in the same huge as char string as the actual message. This is good because it's prpl agnostic, or something. It also means we don't have a silly length of "-1" with pretty much every send or receive IM function. It should be crash free, bug free, and memleak free, but additional testing is always a good thing. If you like good stuff then you'll love this patch. But don't take my word for it--ba dun dunt! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 27 Sep 2003 19:17:21 +0000
parents 66dd420d3d23
children 0ffd540660df
comparison
equal deleted inserted replaced
6981:abd3c684da31 6982:083d1e4a9c78
37 #endif 37 #endif
38 38
39 void serv_login(GaimAccount *); 39 void serv_login(GaimAccount *);
40 void serv_close(GaimConnection *); 40 void serv_close(GaimConnection *);
41 void serv_touch_idle(GaimConnection *); 41 void serv_touch_idle(GaimConnection *);
42 int serv_send_im(GaimConnection *, const char *, const char *, int, GaimImFlags); 42 int serv_send_im(GaimConnection *, const char *, const char *, GaimImFlags);
43 void serv_get_info(GaimConnection *, const char *); 43 void serv_get_info(GaimConnection *, const char *);
44 void serv_get_dir(GaimConnection *, const char *); 44 void serv_get_dir(GaimConnection *, const char *);
45 void serv_set_idle(GaimConnection *, int); 45 void serv_set_idle(GaimConnection *, int);
46 void serv_set_info(GaimConnection *, const char *); 46 void serv_set_info(GaimConnection *, const char *);
47 void serv_set_away(GaimConnection *, const char *, const char *); 47 void serv_set_away(GaimConnection *, const char *, const char *);
80 void serv_got_typing(GaimConnection *gc, const char *name, int timeout, 80 void serv_got_typing(GaimConnection *gc, const char *name, int timeout,
81 GaimTypingState state); 81 GaimTypingState state);
82 void serv_set_buddyicon(GaimConnection *gc, const char *filename); 82 void serv_set_buddyicon(GaimConnection *gc, const char *filename);
83 void serv_got_typing_stopped(GaimConnection *gc, const char *name); 83 void serv_got_typing_stopped(GaimConnection *gc, const char *name);
84 void serv_got_im(GaimConnection *gc, const char *who, const char *msg, 84 void serv_got_im(GaimConnection *gc, const char *who, const char *msg,
85 GaimImFlags imflags, time_t mtime, gint len); 85 GaimImFlags imflags, time_t mtime);
86 void serv_got_update(GaimConnection *gc, const char *name, int loggedin, 86 void serv_got_update(GaimConnection *gc, const char *name, int loggedin,
87 int evil, time_t signon, time_t idle, int type); 87 int evil, time_t signon, time_t idle, int type);
88 void serv_finish_login(GaimConnection *gc); 88 void serv_finish_login(GaimConnection *gc);
89 void serv_got_chat_invite(GaimConnection *gc, const char *name, 89 void serv_got_chat_invite(GaimConnection *gc, const char *name,
90 const char *who, const char *message, 90 const char *who, const char *message,