]> git.evergreen-ils.org Git - OpenSRF.git/blob - src/libstack/osrf_stack.h
added CONNECT handling
[OpenSRF.git] / src / libstack / osrf_stack.h
1 #include "opensrf/transport_client.h"
2 #include "osrf_message.h"
3 #include "osrf_app_session.h"
4
5 #ifndef OSRF_STACK_H
6 #define OSRF_STACK_H
7
8 /* the max number of oilsMessage blobs present in any one root packet */
9 #define OSRF_MAX_MSGS_PER_PACKET 256
10 // -----------------------------------------------------------------------------
11
12 int osrf_stack_process( transport_client* client, int timeout );
13 osrfAppSession*  osrf_stack_transport_handler( transport_message* msg, char* my_service );
14 int osrf_stack_message_handler( osrf_app_session* session, osrf_message* msg );
15 int osrf_stack_application_handler( osrf_app_session* session, osrf_message* msg );
16
17
18
19 #endif