Lines Matching refs:callback
13 The strparser works in one of two modes: receive callback or general
16 In receive callback mode, the strparser is called from the data_ready
17 callback of a TCP socket. Messages are parsed and delivered as they are
29 functions, and a data_ready function for receive callback mode. The
43 callback mode; in general mode this is set to NULL. Callbacks
82 from a data_ready callback that is set on the socket. Note that
120 zero) and the parser is in receive callback mode, then it will set
128 The lock callback is called to lock the strp structure when
130 processing a timeout). In receive callback mode the default
132 mode the callback must be set appropriately.
136 The unlock callback is called to release the lock obtained
137 by the lock callback. In receive callback mode the default
139 mode the callback must be set appropriately.
146 received in rcv_msg (see strp_pause above). This callback
158 the TCP socket in receive callback mode. The stream parser may
160 to occur when exiting the loop. If the callback is not set (NULL
167 sets the error in the socket if the parser is in receive callback
168 mode. The default function can be changed by setting the callback
187 callback mode the message timeout is taken from rcvtime for the
191 socket if in receive callback mode.
193 In receive callback mode, message length is limited to the receive