X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fbackend.h;h=e05b8e1d128da11ba0ddc613d5d7d024fd79b366;hb=9cc8f4a4d0fd7f1e4bd6c9d5c85ef2dccaab5743;hp=d321de5f98383fd38b4139854bbf28381f253460;hpb=06e73cb9f6d59fc7a38f17636016f2daaed02548;p=yaz-moved-to-github.git diff --git a/include/yaz/backend.h b/include/yaz/backend.h index d321de5..e05b8e1 100644 --- a/include/yaz/backend.h +++ b/include/yaz/backend.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2003, Index Data. + * Copyright (C) 1995-2005, Index Data ApS * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -23,7 +23,15 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: backend.h,v 1.21 2003-04-24 13:30:32 adam Exp $ + * $Id: backend.h,v 1.30 2005-03-03 23:16:20 adam Exp $ + */ + +/** + * \file backend.h + * \brief Header for GFS + * + * This header includes all public definitions for the + * Generic Frontend Server (GFS). */ #ifndef BACKEND_H @@ -130,6 +138,7 @@ typedef struct bend_scan_rr { bend_scan_status status; int errcode; char *errstring; + char *scanClause; /* CQL scan clause */ } bend_scan_rr; /* delete handler */ @@ -190,6 +199,9 @@ typedef struct { ODR decode; ODR print; char *explain_buf; + char *database; + char *schema; + void *server_node_ptr; } bend_explain_rr; typedef struct bend_initrequest @@ -217,6 +229,7 @@ typedef struct bend_initrequest Z_CharSetandLanguageNegotiation *charneg_request; Z_External *charneg_response; int (*bend_explain)(void *handle, bend_explain_rr *rr); + int (*bend_srw_scan)(void *handle, bend_scan_rr *rr); } bend_initrequest; typedef struct bend_initresult @@ -271,6 +284,10 @@ typedef struct statserv_options_block char service_display_name[128]; /* The service display name */ #endif /* WIN32 */ struct bend_soap_handler *soap_handlers; + char pid_fname[128]; /* pid fname */ + int background; /* auto daemon */ + char cert_fname[128]; /* SSL certificate fname */ + char xml_config[128]; /* XML config filename */ } statserv_options_block; YAZ_EXPORT int statserv_main(