diff src/protocols/msn/command.c @ 19784:bc30c6270d9f

[gaim-migrate @ 16473] add the Framework of SOAP request Now can retrieve the Contact via SOAP Request. so many bug still exist! commited by MaYuan<mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Sun, 09 Jul 2006 16:48:25 +0000
parents 995aea35b05c
children 852b32710df0
line wrap: on
line diff
--- a/src/protocols/msn/command.c	Sat Jun 24 12:04:32 2006 +0000
+++ b/src/protocols/msn/command.c	Sun Jul 09 16:48:25 2006 +0000
@@ -42,7 +42,7 @@
  *  else 		return FALSE
  */
 static gboolean
-isPayloadCmd(char *str)
+msn_check_payload_cmd(char *str)
 {
 	if( (!strcmp(str,"ADL")) ||
 		(!strcmp(str,"GCF")) ||
@@ -60,7 +60,7 @@
 }
 
 /*get the payload positon*/
-int getPayloadPosition(char *str)
+int msn_get_payload_position(char *str)
 {
 	/*because MSG has "MSG hotmail hotmail [payload length]"*/
 	if(!(strcmp(str,"MSG"))){
@@ -72,11 +72,11 @@
  * set command Payload length
  */
 int
-setPayloadLen(MsnCommand *cmd)
+msn_set_payload_len(MsnCommand *cmd)
 {
 	char * param;
 
-	if(isPayloadCmd(cmd->command)){
+	if(msn_check_payload_cmd(cmd->command)){
 		if(!(strcmp(cmd->command,"MSG"))){
 			param = cmd->params[2];
 		}else{
@@ -121,7 +121,7 @@
 	}
 
 	/*add payload Length checking*/
-	setPayloadLen(cmd);
+	msn_set_payload_len(cmd);
 	gaim_debug_info("MaYuan","get payload len:%d\n",cmd->payload_len);
 
 	msn_command_ref(cmd);