litestomp
Functions
stomp_io.c File Reference
#include "stomp_io.h"

Functions

stomp_status_t stomp_io_last_status ()
 
 APR_DECLARE (apr_status_t)
 
bool stomp_io_can_read (stomp_connection *connection)
 

Function Documentation

APR_DECLARE ( apr_status_t  )
bool stomp_io_can_read ( stomp_connection connection)

Lower level check that returns whether there's data to be read from the connection

Parameters
connection
Returns
true if there's data to read or false otherwise
stomp_status_t stomp_io_last_status ( )

Gets the last stomp engine status

Returns
The last status