X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fproto.h;h=96ab94bc15500f870f914b8c58f313985b213a5c;hb=546c28ba38f70ca66b6ce522df97645d9d5cefb9;hp=354d1369dcda886c3df6168ed35ad3ca23822f47;hpb=2f252f9a14edf0383d551b6aed12597c745cc264;p=yaz-moved-to-github.git diff --git a/include/proto.h b/include/proto.h index 354d136..96ab94b 100644 --- a/include/proto.h +++ b/include/proto.h @@ -24,7 +24,13 @@ * OF THIS SOFTWARE. * * $Log: proto.h,v $ - * Revision 1.44 1998-05-18 10:14:08 adam + * Revision 1.46 1998-10-20 13:55:44 quinn + * Fixed Scan bug in asn and client + * + * Revision 1.45 1998/08/19 16:10:07 adam + * Changed som member names of DeleteResultSetRequest/Response. + * + * Revision 1.44 1998/05/18 10:14:08 adam * Minor change - removed 'dead' definitions. * * Revision 1.43 1998/03/31 11:07:45 adam @@ -943,6 +949,8 @@ typedef struct Z_Entry } u; } Z_Entry; +#ifdef BUGGY_LISTENTRIES + typedef struct Z_Entries { int num_entries; @@ -961,6 +969,15 @@ typedef struct Z_ListEntries } u; } Z_ListEntries; +#endif + +typedef struct Z_ListEntries { + int num_entries; + Z_Entry **entries; /* OPT */ + int num_nonsurrogateDiagnostics; + Z_DiagRec **nonsurrogateDiagnostics; /* OPT */ +} Z_ListEntries; + typedef struct Z_ScanRequest { Z_ReferenceId *referenceId; /* OPTIONAL */ @@ -1024,22 +1041,25 @@ typedef struct Z_DeleteResultSetRequest int *deleteFunction; #define Z_DeleteRequest_list 0 #define Z_DeleteRequest_all 1 - int num_ids; + int num_resultSetList; Z_ResultSetId **resultSetList; /* OPTIONAL */ #ifdef Z_95 Z_OtherInformation *otherInfo; #endif } Z_DeleteResultSetRequest; +typedef struct Z_ListStatuses { + int num; + Z_ListStatus **elements; +} Z_ListStatuses; + typedef struct Z_DeleteResultSetResponse { Z_ReferenceId *referenceId; /* OPTIONAL */ int *deleteOperationStatus; - int num_statuses; - Z_ListStatus **deleteListStatuses; /* OPTIONAL */ + Z_ListStatuses *deleteListStatuses;/* OPTIONAL */ int *numberNotDeleted; /* OPTIONAL */ - int num_bulkStatuses; - Z_ListStatus **bulkStatuses; /* OPTIONAL */ + Z_ListStatuses *bulkStatuses; /* OPTIONAL */ char *deleteMessage; /* OPTIONAL */ #ifdef Z_95 Z_OtherInformation *otherInfo;