1 #include <opensrf/osrf_system.h>
3 int main( int argc, char* argv[] ) {
6 fprintf(stderr, "Usage: %s <host> <bootstrap_config> <config_context>\n", argv[0]);
10 /* these must be strdup'ed because init_proc_title / set_proc_title
11 are evil and overwrite the argv memory */
12 char* host = strdup( argv[1] );
13 char* config = strdup( argv[2] );
14 char* context = strdup( argv[3] );
16 init_proc_title( argc, argv );
17 set_proc_title( "OpenSRF System-C" );
19 int ret = osrfSystemBootstrap( host, config, context );
24 "Server Loop returned an error condition, exiting with %d",