X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fstatserv.h;h=7298ef7a89ba3cbcbd32eb59f13fe913b76b6ac9;hb=a0bdc8bbd4d346939e7c24fd7e07b6d361d78643;hp=f27442a755ce545fe0d155cfe33a0f86582cfee0;hpb=61662168d4d4c1f7edb38cccac4b4a24dcecc58e;p=yaz-moved-to-github.git diff --git a/include/statserv.h b/include/statserv.h index f27442a..7298ef7 100644 --- a/include/statserv.h +++ b/include/statserv.h @@ -24,7 +24,10 @@ * OF THIS SOFTWARE. * * $Log: statserv.h,v $ - * Revision 1.16 1999-06-10 11:45:30 adam + * Revision 1.17 1999-07-06 12:17:15 adam + * Added option -1 that runs server once (for profiling purposes). + * + * Revision 1.16 1999/06/10 11:45:30 adam * Added bend_start, bend_stop handlers and removed pre_init. * Handlers bend_start/bend_stop are called when service/daemon is * started/stopped. @@ -99,6 +102,7 @@ extern "C" { typedef struct statserv_options_block { int dynamic; /* fork on incoming requests */ + int one_shot; /* one session then exit(1) */ int loglevel; /* desired logging-level */ char apdufile[ODR_MAXNAME+1]; /* file for pretty-printed PDUs */ char logfile[ODR_MAXNAME+1]; /* file for diagnostic output */