X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fbackend.h;h=e05b8e1d128da11ba0ddc613d5d7d024fd79b366;hb=7857ed3da7f4c6ed8bd99ad567cb3999b83b2c53;hp=27655e0a106971bd7028dcdbff1966e0734306b3;hpb=7bb5e2926727e963de8411dbba9cc18df967bfbb;p=yaz-moved-to-github.git diff --git a/include/yaz/backend.h b/include/yaz/backend.h index 27655e0..e05b8e1 100644 --- a/include/yaz/backend.h +++ b/include/yaz/backend.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2004, 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.25 2004-04-30 19:10:35 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 */ @@ -192,6 +201,7 @@ typedef struct { char *explain_buf; char *database; char *schema; + void *server_node_ptr; } bend_explain_rr; typedef struct bend_initrequest @@ -219,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 @@ -276,6 +287,7 @@ typedef struct statserv_options_block 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(