Mercurial > pidgin
diff libpurple/protocols/oscar/util.c @ 19642:c0f503c18f7e
A little function name shuffling.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 04 Sep 2007 08:09:55 +0000 |
parents | c298830e237f |
children | 44b4e8bd759b |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/util.c Tue Sep 04 08:04:06 2007 +0000 +++ b/libpurple/protocols/oscar/util.c Tue Sep 04 08:09:55 2007 +0000 @@ -171,7 +171,7 @@ * * @return TRUE if the screen name is valid, FALSE if not. */ -static gboolean +gboolean aim_snvalid_icq(const char *sn) { int i; @@ -190,7 +190,7 @@ * * @return TRUE if the screen name is valid, FALSE if not. */ -static gboolean +gboolean aim_snvalid_sms(const char *sn) { int i; @@ -221,34 +221,6 @@ } /** - * Determine if a given screen name is an ICQ screen name - * (i.e. it is composed of only numbers). - * - * @param sn A valid AIM or ICQ screen name. - * @return TRUE if the screen name is an ICQ screen name. Otherwise - * FALSE is returned. - */ -gboolean -aim_sn_is_icq(const char *sn) -{ - return aim_snvalid_icq(sn); -} - -/** - * Determine if a given screen name is an SMS number - * (i.e. it begins with a +). - * - * @param sn A valid AIM or ICQ screen name. - * @return TRUE if the screen name is an SMS number. Otherwise - * FALSE is returned. - */ -gboolean -aim_sn_is_sms(const char *sn) -{ - return (sn[0] == '+'); -} - -/** * This takes two screen names and compares them using the rules * on screen names for AIM/AOL. Mainly, this means case and space * insensitivity (all case differences and spacing differences are