#include <sys/select.h>
#include <sys/wait.h>
-#include "utils.h"
+#include "opensrf/utils.h"
#include "opensrf/transport_message.h"
+#include "opensrf/transport_client.h"
#include "osrf_stack.h"
#include "osrf_settings.h"
#include "osrfConfig.h"
int data_to_child;
int data_to_parent;
int current_num_children;
+ int keepalive; /* keepalive time for stateful sessions */
char* appname;
struct prefork_child_struct* first_child;
transport_client* connection;
int available;
int max_requests;
char* appname;
+ int keepalive;
struct prefork_child_struct* next;
- transport_client* connection;
};
typedef struct prefork_child_struct prefork_child;
int prefork_child_free( prefork_child* );
+void osrf_prefork_register_routers( char* appname );
+
+