Mercurial > pidgin
diff src/protocols/yahoo/yahoo_friend.h @ 12010:b41b75f709e4
[gaim-migrate @ 14303]
sf patch #1350789, from Peter Lawler
"When Yahoo introduced their selective visibility, they
called it 'stealth'. I guess the US Air Force must've
got law-suit happy or something.
Anyways, here's the patch where we change it to
Presence, to match the native client."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 08 Nov 2005 23:50:06 +0000 |
parents | b4919e8c634c |
children |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_friend.h Tue Nov 08 23:44:00 2005 +0000 +++ b/src/protocols/yahoo/yahoo_friend.h Tue Nov 08 23:50:06 2005 +0000 @@ -29,10 +29,10 @@ #include "yahoo_packet.h" typedef enum { - YAHOO_STEALTH_DEFAULT = 0, - YAHOO_STEALTH_ONLINE, - YAHOO_STEALTH_PERM_OFFLINE -} YahooStealthVisibility; + YAHOO_PRESENCE_DEFAULT = 0, + YAHOO_PRESENCE_ONLINE, + YAHOO_PRESENCE_PERM_OFFLINE +} YahooPresenceVisibility; /* these are called friends instead of buddies mainly so I can use variables * named f and not confuse them with variables named b @@ -46,7 +46,7 @@ gboolean sms; char *ip; gboolean bicon_sent_request; - YahooStealthVisibility stealth; + YahooPresenceVisibility presence; } YahooFriend; YahooFriend *yahoo_friend_find(GaimConnection *gc, const char *name); @@ -66,8 +66,8 @@ void yahoo_friend_free(gpointer p); -void yahoo_process_stealth(GaimConnection *gc, struct yahoo_packet *pkt); -void yahoo_friend_update_stealth(GaimConnection *gc, const char *name, - YahooStealthVisibility stealth); +void yahoo_process_presence(GaimConnection *gc, struct yahoo_packet *pkt); +void yahoo_friend_update_presence(GaimConnection *gc, const char *name, + YahooPresenceVisibility presence); #endif /* _YAHOO_FRIEND_H_ */