Mercurial > pidgin.yaz
diff src/core.h @ 4227:a614423c648f
[gaim-migrate @ 4471]
This is a patch from Nathan Walp that adds a
"char server_alias[BUDDY_ALIAS_MAXLEN]" to struct buddy, and a preference
option to show the server alias instead of the alias set by you. It
shouldn't cause any problems. But then again, faceprint is a crazy patch
writer, with an emphasis on crazy, if you know what I mean. Huh? Get it?
"Crazy"? I kill me. But right after I kill Time Warner.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 07 Jan 2003 17:44:34 +0000 |
parents | f53370197bb9 |
children | cddb50734169 |
line wrap: on
line diff
--- a/src/core.h Tue Jan 07 16:18:08 2003 +0000 +++ b/src/core.h Tue Jan 07 17:44:34 2003 +0000 @@ -149,8 +149,9 @@ struct buddy { int edittype; /* XXX CUI: this is really a GUI function and we need to put this in ui.h */ char name[80]; - char show[BUDDY_ALIAS_MAXLEN]; - int present; + char alias[BUDDY_ALIAS_MAXLEN]; + char server_alias[BUDDY_ALIAS_MAXLEN]; + int present; int evil; time_t signon; time_t idle; @@ -190,6 +191,8 @@ extern void toc_build_config(struct gaim_connection *, char *, int len, gboolean); extern void parse_toc_buddy_list(struct gaim_connection *, char *); extern void signoff_blocked(struct gaim_connection *); +extern char* get_buddy_alias_only(struct buddy *); +extern char* get_buddy_alias(struct buddy *); /* Functions in core.c */ extern gint UI_write(struct UI *, guchar *, int); @@ -240,6 +243,7 @@ extern struct 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_finish_login(); #endif /* _CORE_H_ */