X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fbackend.h;h=a02e1fa6023e861da902bf06ad8f05dc103922dc;hp=4a43f410e3fd44bd50316de091f0d4972576a110;hb=8d08fd5b79e49e14ca014de8e6bed12a2cc0468d;hpb=68d5c20794c09348e4a0fed7f00c2bd97f535e12 diff --git a/include/yaz/backend.h b/include/yaz/backend.h index 4a43f41..a02e1fa 100644 --- a/include/yaz/backend.h +++ b/include/yaz/backend.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-2000, Index Data. + * Copyright (c) 1995-2001, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -24,7 +24,17 @@ * OF THIS SOFTWARE. * * $Log: backend.h,v $ - * Revision 1.9 2000-08-31 10:20:12 adam + * Revision 1.12 2001-03-25 21:55:12 adam + * Added odr_intdup. Ztest server returns TaskPackage for ItemUpdate. + * + * Revision 1.11 2001/01/30 21:34:17 adam + * Added step-size for Scan backend interface. + * + * Revision 1.10 2000/10/02 11:07:44 adam + * Added peer_name member for bend_init handler. Changed the YAZ + * client so that tcp: can be avoided in target spec. + * + * Revision 1.9 2000/08/31 10:20:12 adam * Added member request_format and output_format for backend fetch method. * * Revision 1.8 2000/08/31 09:51:25 adam @@ -186,6 +196,7 @@ typedef struct bend_scan_rr { ODR stream; /* encoding stream - memory source if required */ ODR print; /* printing stream */ + int *step_size; /* step size */ int term_position; /* desired index of term in result list/returned */ int num_entries; /* number of entries requested/returned */ @@ -236,6 +247,7 @@ typedef struct bend_esrequest_rr bend_association association; int errcode; /* 0==success, -1==accepted, >0 = failure */ char *errstring; /* system error string or NULL */ + Z_TaskPackage *taskPackage; } bend_esrequest_rr; typedef struct bend_segment_rr { @@ -253,6 +265,7 @@ typedef struct bend_initrequest ODR stream; /* encoding stream */ ODR print; /* printing stream */ Z_ReferenceId *referenceId;/* reference ID */ + char *peer_name; /* dns host of peer (client) */ char *implementation_name; char *implementation_version;