2 * IR toolkit for tcl/tk
4 * See the file LICENSE for details.
5 * Sebastian Hammer, Adam Dickmeiss
8 * Revision 1.5 1995-05-29 08:44:25 adam
9 * Work on delete of objects.
11 * Revision 1.4 1995/05/26 11:44:10 adam
12 * Bugs fixed. More work on MARC utilities and queries. Test
13 * client is up-to-date again.
15 * Revision 1.3 1995/05/26 08:54:17 adam
16 * New MARC utilities. Uses prefix query.
18 * Revision 1.2 1995/05/24 14:10:23 adam
19 * Work on idAuthentication, protocolVersion and options.
21 * Revision 1.1 1995/05/23 15:34:49 adam
22 * Many new settings, userInformationField, smallSetUpperBound, etc.
23 * A number of settings are inherited when ir-set is executed.
24 * This version is incompatible with the graphical test client (client.tcl).
58 int num_databaseNames;
63 int smallSetUpperBound;
64 int largeSetLowerBound;
65 int mediumSetPresentNumber;
76 int preferredMessageSize;
77 int maximumRecordSize;
79 Odr_bitmask protocolVersion;
81 char *idAuthenticationOpen;
82 char *idAuthenticationGroupId;
83 char *idAuthenticationUserId;
84 char *idAuthenticationPassword;
86 char *implementationName;
87 char *implementationId;
89 char *targetImplementationName;
90 char *targetImplementationId;
91 char *targetImplementationVersion;
92 char *userInformationField;
114 struct IRSetObj_ *set_child;
115 struct IRScanObj_ *scan_child;
120 typedef struct IRRecordList_ {
133 struct IRRecordList_ *next;
136 typedef struct IRSetObj_ {
141 int nextResultSetPosition;
144 int numberOfRecordsReturned;
150 IRRecordList *record_list;
154 typedef struct IRScanEntry_ {
159 int globalOccurrences;
168 typedef struct IRScanDiag_ {
172 typedef struct IRScanObj_ {
175 int numberOfTermsRequested;
176 int preferredPositionInResponse;
179 int numberOfEntriesReturned;
188 IRScanEntry *entries;
189 IRScanDiag *nonSurrogateDiagnostics;
192 struct ir_named_entry {
197 int ir_tcl_get_marc (Tcl_Interp *interp, const char *buf,
198 int argc, char **argv);
199 char *ir_tcl_fread_marc (FILE *inf, size_t *size);