23b358ec5598052cd5bb28b146fe88b1f8ce9a1e
[OpenSRF.git] / include / opensrf / 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 16 
10 // -----------------------------------------------------------------------------
11
12 int osrf_stack_transport_handler( transport_message* msg );
13 int osrf_stack_message_handler( osrf_app_session* session, osrf_message* msg );
14 int osrf_stack_application_handler( osrf_app_session* session, osrf_message*msg );
15
16
17 #endif