2 * IR toolkit for tcl/tk
4 * Sebastian Hammer, Adam Dickmeiss
7 * Revision 1.4 1995-05-26 11:44:10 adam
8 * Bugs fixed. More work on MARC utilities and queries. Test
9 * client is up-to-date again.
11 * Revision 1.3 1995/05/26 08:54:17 adam
12 * New MARC utilities. Uses prefix query.
14 * Revision 1.2 1995/05/24 14:10:23 adam
15 * Work on idAuthentication, protocolVersion and options.
17 * Revision 1.1 1995/05/23 15:34:49 adam
18 * Many new settings, userInformationField, smallSetUpperBound, etc.
19 * A number of settings are inherited when ir-set is executed.
20 * This version is incompatible with the graphical test client (client.tcl).
54 int num_databaseNames;
59 int smallSetUpperBound;
60 int largeSetLowerBound;
61 int mediumSetPresentNumber;
70 int preferredMessageSize;
71 int maximumRecordSize;
73 Odr_bitmask protocolVersion;
75 char *idAuthenticationOpen;
76 char *idAuthenticationGroupId;
77 char *idAuthenticationUserId;
78 char *idAuthenticationPassword;
80 char *implementationName;
81 char *implementationId;
83 char *targetImplementationName;
84 char *targetImplementationId;
85 char *targetImplementationVersion;
86 char *userInformationField;
110 struct IRSetObj_ *set_child;
111 struct IRScanObj_ *scan_child;
116 typedef struct IRRecordList_ {
129 struct IRRecordList_ *next;
132 typedef struct IRSetObj_ {
137 int nextResultSetPosition;
140 int numberOfRecordsReturned;
146 IRRecordList *record_list;
150 typedef struct IRScanEntry_ {
155 int globalOccurrences;
164 typedef struct IRScanDiag_ {
168 typedef struct IRScanObj_ {
171 int numberOfTermsRequested;
172 int preferredPositionInResponse;
175 int numberOfEntriesReturned;
184 IRScanEntry *entries;
185 IRScanDiag *nonSurrogateDiagnostics;
188 struct ir_named_entry {
193 int ir_tcl_get_marc (Tcl_Interp *interp, const char *buf,
194 int argc, char **argv);
195 char *ir_tcl_fread_marc (FILE *inf, size_t *size);