Mercurial > pidgin
comparison src/protocols/msn/command.c @ 19800:da3f8f7ec3ce
[gaim-migrate @ 16737]
can send Message to Yahoo Messenger
can receive the Yahoo Message, Need to post it to the conversation
committed by Ma Yuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
| author | Ma Yuan <mayuan2006@gmail.com> |
|---|---|
| date | Sun, 13 Aug 2006 16:01:52 +0000 |
| parents | 23258253c7a0 |
| children | 2315ee828b7c |
comparison
equal
deleted
inserted
replaced
| 19799:88b0c434259a | 19800:da3f8f7ec3ce |
|---|---|
| 49 (!strcmp(str,"SG")) || | 49 (!strcmp(str,"SG")) || |
| 50 (!strcmp(str,"MSG")) || | 50 (!strcmp(str,"MSG")) || |
| 51 (!strcmp(str,"RML")) || | 51 (!strcmp(str,"RML")) || |
| 52 (!strcmp(str,"UBX")) || | 52 (!strcmp(str,"UBX")) || |
| 53 (!strcmp(str,"UBN")) || | 53 (!strcmp(str,"UBN")) || |
| 54 (!strcmp(str,"UUM")) || | |
| 55 (!strcmp(str,"UBM")) || | |
| 54 (!strcmp(str,"UUN")) || | 56 (!strcmp(str,"UUN")) || |
| 55 (!strcmp(str,"UUX"))){ | 57 (!strcmp(str,"UUX"))){ |
| 56 return TRUE; | 58 return TRUE; |
| 57 } | 59 } |
| 58 | 60 |
| 63 int msn_get_payload_position(char *str) | 65 int msn_get_payload_position(char *str) |
| 64 { | 66 { |
| 65 /*because MSG has "MSG hotmail hotmail [payload length]"*/ | 67 /*because MSG has "MSG hotmail hotmail [payload length]"*/ |
| 66 if(!(strcmp(str,"MSG"))|| (!strcmp(str,"UBX")) ){ | 68 if(!(strcmp(str,"MSG"))|| (!strcmp(str,"UBX")) ){ |
| 67 return 2; | 69 return 2; |
| 70 } | |
| 71 /*Yahoo User Message UBM | |
| 72 * Format UBM email@yahoo.com 32 1 [payload length]*/ | |
| 73 if(!(strcmp(str,"UBM"))|| (!strcmp(str,"UUM")) ){ | |
| 74 return 3; | |
| 68 } | 75 } |
| 69 | 76 |
| 70 return 1; | 77 return 1; |
| 71 } | 78 } |
| 72 | 79 |
