Mercurial > pidgin
comparison libpurple/protocols/msn/msnutils.h @ 32484:0ab12023a1bc
Add a function for parsing a network:username for MSNP18.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Fri, 03 Feb 2012 01:14:41 +0000 |
parents | 5981b4116b52 |
children |
comparison
equal
deleted
inserted
replaced
32483:1b15d0fd9c34 | 32484:0ab12023a1bc |
---|---|
72 * @param str A host:port string. | 72 * @param str A host:port string. |
73 * @param ret_host Return string value of the host. | 73 * @param ret_host Return string value of the host. |
74 * @param ret_port Return integer value of the port. | 74 * @param ret_port Return integer value of the port. |
75 */ | 75 */ |
76 void msn_parse_socket(const char *str, char **ret_host, int *ret_port); | 76 void msn_parse_socket(const char *str, char **ret_host, int *ret_port); |
77 | |
78 /** | |
79 * Parses a user name | |
80 * | |
81 * @param str A network:username string. | |
82 * @param ret_user Return of the user's passport. | |
83 * @param ret_network Return of the user's network. | |
84 */ | |
85 void msn_parse_user(const char *str, char **ret_user, int *ret_network); | |
77 | 86 |
78 /** | 87 /** |
79 * Verify if the email is a vaild passport. | 88 * Verify if the email is a vaild passport. |
80 * | 89 * |
81 * @param passport The email | 90 * @param passport The email |