]> git.evergreen-ils.org Git - OpenSRF.git/blob - src/libstack/opensrf.c
Young C server code added
[OpenSRF.git] / src / libstack / opensrf.c
1 #include "osrf_system.h"
2
3 int main( int argc, char* argv[] ) {
4
5         if( argc < 4 ) {
6                 fprintf(stderr, "Host, Bootstrap, and context required\n");
7                 return 1;
8         }
9
10         fprintf(stderr, "Loading OpenSRF host %s with bootstrap config %s "
11                         "and config context %s\n", argv[1], argv[2], argv[3] );
12
13         osrfSystemBootstrap( argv[1], argv[2], argv[3] );
14
15         return 0;
16 }
17
18