libpurple/protocols/myspace/myspace.c

branch
soc.2013.gobjectification.plugins
changeset 36858
920cf8db7c68
parent 36782
64936dae41a3
parent 35001
85144a4a7942
child 36862
7b6f1efa00c8
equal deleted inserted replaced
36857:79d57b15c8cc 36858:920cf8db7c68
511 */ 511 */
512 #define msim_put32(buf, data) ( \ 512 #define msim_put32(buf, data) ( \
513 (*((buf)) = (unsigned char)((data)>>24)&0xff), \ 513 (*((buf)) = (unsigned char)((data)>>24)&0xff), \
514 (*((buf)+1) = (unsigned char)((data)>>16)&0xff), \ 514 (*((buf)+1) = (unsigned char)((data)>>16)&0xff), \
515 (*((buf)+2) = (unsigned char)((data)>>8)&0xff), \ 515 (*((buf)+2) = (unsigned char)((data)>>8)&0xff), \
516 (*((buf)+3) = (unsigned char)(data)&0xff), \ 516 (*((buf)+3) = (unsigned char)(data)&0xff))
517 4)
518 517
519 /** 518 /**
520 * Compute the base64'd login challenge response based on username, password, nonce, and IPs. 519 * Compute the base64'd login challenge response based on username, password, nonce, and IPs.
521 * 520 *
522 * @param nonce The base64 encoded nonce ('nc') field from the server. 521 * @param nonce The base64 encoded nonce ('nc') field from the server.

mercurial