comparison libpurple/protocols/msn/servconn.h @ 24390: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
comparison
equal deleted inserted replaced
24389:ae66b7b3086a 24390:d72c185d0be3
168 * @param servconn The servconn. 168 * @param servconn The servconn.
169 * @param error The error that happened. 169 * @param error The error that happened.
170 */ 170 */
171 void msn_servconn_got_error(MsnServConn *servconn, MsnServConnError error); 171 void msn_servconn_got_error(MsnServConn *servconn, MsnServConnError error);
172 172
173 /**
174 * Process the data in servconn->rx_buf. This is called after reading
175 * data from the socket.
176 *
177 * @param servconn The servconn.
178 */
179 void msn_servconn_process_data(MsnServConn *servconn);
180
173 #endif /* _MSN_SERVCONN_H_ */ 181 #endif /* _MSN_SERVCONN_H_ */