Eliminated the function pointer osrf_stack_entry_point so that
[OpenSRF.git] / include / opensrf / osrf_stack.h
1 #ifndef OSRF_STACK_H
2 #define OSRF_STACK_H
3
4 #include <opensrf/transport_client.h>
5 #include <opensrf/osrf_message.h>
6 #include <opensrf/osrf_app_session.h>
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 struct osrf_app_session_struct;
13
14 struct osrf_app_session_struct*  osrf_stack_transport_handler( transport_message* msg,
15                 const char* my_service );
16
17 int osrf_stack_process( transport_client* client, int timeout, int* msg_received );
18
19 #ifdef __cplusplus
20 }
21 #endif
22
23 #endif