Mercurial > pidgin
diff libpurple/protocols/msn/servconn.h @ 24447:d72c185d0be3
Separate the parsing of data into a separate function from the reading of
data, to remove a big chunk of duplicate code in the read_cb callbacks
for servconn and httpconn
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 15 Nov 2008 16:15:33 +0000 |
parents | 5c95339855b2 |
children | d8452c0bec7b |
line wrap: on
line diff
--- a/libpurple/protocols/msn/servconn.h Sat Nov 15 09:44:05 2008 +0000 +++ b/libpurple/protocols/msn/servconn.h Sat Nov 15 16:15:33 2008 +0000 @@ -170,4 +170,12 @@ */ void msn_servconn_got_error(MsnServConn *servconn, MsnServConnError error); +/** + * Process the data in servconn->rx_buf. This is called after reading + * data from the socket. + * + * @param servconn The servconn. + */ +void msn_servconn_process_data(MsnServConn *servconn); + #endif /* _MSN_SERVCONN_H_ */