litestomp
Data Structures | Typedefs | Functions | Variables
stomp_io.h File Reference
#include <apr-1/apr_general.h>
#include <apr-1/apr_network_io.h>
#include <apr-1/apr_hash.h>
#include <apr-1/apr_env.h>
#include <apr-1/apr_strings.h>
#include <apr-1/apr_support.h>
#include <stdio.h>
#include <stdbool.h>
#include "stomp_connection.h"
#include "stomp_frame.h"
#include "stomp_status.h"

Go to the source code of this file.

Data Structures

struct  data_block_list
 

Typedefs

typedef struct data_block_list data_block_list
 

Functions

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

Variables

stomp_frameframe
 
stomp_frame apr_pool_t * pool
 

Typedef Documentation

Copyright 2005 LogicBlaze Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


The contents of this file are part of the original stomp.c and stomp.h file from which this code is derived

Function Documentation

APR_DECLARE ( apr_status_t  )

Low level write to the STOMP connection

Parameters
connection
frame
pool
Returns

Low level read from the STOMP connection

Parameters
connection
frame
pool
Returns
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

Variable Documentation

stomp_frame ** frame
stomp_frame apr_pool_t* pool