X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fbackend.h;h=5f6ad17b8a8c74ae87a069ed99c8d08c6e474ea1;hb=a39eab79c04f1fa0f7a7197140a526319f2612d2;hp=45d4e0e97663f021be17347df7f39f5a020f69fe;hpb=2b3dd45defce5c722aea0d5cecfbd8db7df55818;p=yaz-moved-to-github.git diff --git a/include/yaz/backend.h b/include/yaz/backend.h index 45d4e0e..5f6ad17 100644 --- a/include/yaz/backend.h +++ b/include/yaz/backend.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2005, 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,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: backend.h,v 1.27 2005-01-11 12:07:55 adam Exp $ + * $Id: backend.h,v 1.33 2005-09-11 18:39:11 adam Exp $ */ /** @@ -64,6 +64,9 @@ typedef struct { int errcode; /* 0==OK */ char *errstring; /* system error string or NULL */ Z_OtherInformation *search_info; /* additional search info */ + char *srw_sortKeys; /* holds SRU/SRW sortKeys info */ + char *srw_setname; /* holds SRU/SRW generated resultsetID */ + int *srw_setnameIdleTime; /* holds SRU/SRW life-time */ } bend_search_rr; /* extended present handler. Does not replace bend_fetch. */ @@ -201,6 +204,7 @@ typedef struct { char *explain_buf; char *database; char *schema; + void *server_node_ptr; } bend_explain_rr; typedef struct bend_initrequest @@ -239,7 +243,7 @@ typedef struct bend_initresult } bend_initresult; YAZ_EXPORT void bend_request_send (bend_association a, bend_request req, - Z_APDU *res); + Z_APDU *res); YAZ_EXPORT bend_request bend_request_mk (bend_association a); @@ -286,6 +290,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( @@ -302,3 +307,11 @@ YAZ_EXPORT int check_ip_tcpd(void *cd, const char *addr, int len, int type); YAZ_END_CDECL #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +