Lines Matching refs:callback
17 The strparser works in one of two modes: receive callback or general
20 In receive callback mode, the strparser is called from the data_ready
21 callback of a TCP socket. Messages are parsed and delivered as they are
33 functions, and a data_ready function for receive callback mode. The
49 callback mode; in general mode this is set to NULL. Callbacks
100 from a data_ready callback that is set on the socket. Note that
144 zero) and the parser is in receive callback mode, then it will set
154 The lock callback is called to lock the strp structure when
156 processing a timeout). In receive callback mode the default
158 mode the callback must be set appropriately.
164 The unlock callback is called to release the lock obtained
165 by the lock callback. In receive callback mode the default
167 mode the callback must be set appropriately.
176 received in rcv_msg (see strp_pause above). This callback
190 the TCP socket in receive callback mode. The stream parser may
192 to occur when exiting the loop. If the callback is not set (NULL
201 sets the error in the socket if the parser is in receive callback
202 mode. The default function can be changed by setting the callback
221 callback mode the message timeout is taken from rcvtime for the
225 socket if in receive callback mode.
227 In receive callback mode, message length is limited to the receive