2 * IR toolkit for tcl/tk
4 * See the file LICENSE for details.
5 * Sebastian Hammer, Adam Dickmeiss
8 * Revision 1.6 1995-05-31 08:36:40 adam
9 * Bug fix in client.tcl: didn't save options on clientrc.tcl.
10 * New method: referenceId. More work on scan.
12 * Revision 1.5 1995/05/29 08:44:25 adam
13 * Work on delete of objects.
15 * Revision 1.4 1995/05/26 11:44:10 adam
16 * Bugs fixed. More work on MARC utilities and queries. Test
17 * client is up-to-date again.
19 * Revision 1.3 1995/05/26 08:54:17 adam
20 * New MARC utilities. Uses prefix query.
22 * Revision 1.2 1995/05/24 14:10:23 adam
23 * Work on idAuthentication, protocolVersion and options.
25 * Revision 1.1 1995/05/23 15:34:49 adam
26 * Many new settings, userInformationField, smallSetUpperBound, etc.
27 * A number of settings are inherited when ir-set is executed.
28 * This version is incompatible with the graphical test client (client.tcl).
62 int num_databaseNames;
68 int smallSetUpperBound;
69 int largeSetLowerBound;
70 int mediumSetPresentNumber;
81 int preferredMessageSize;
82 int maximumRecordSize;
84 Odr_bitmask protocolVersion;
86 char *idAuthenticationOpen;
87 char *idAuthenticationGroupId;
88 char *idAuthenticationUserId;
89 char *idAuthenticationPassword;
91 char *implementationName;
92 char *implementationId;
94 char *targetImplementationName;
95 char *targetImplementationId;
96 char *targetImplementationVersion;
97 char *userInformationField;
119 struct IRSetObj_ *set_child;
120 struct IRScanObj_ *scan_child;
125 typedef struct IRRecordList_ {
138 struct IRRecordList_ *next;
141 typedef struct IRSetObj_ {
146 int nextResultSetPosition;
149 int numberOfRecordsReturned;
155 IRRecordList *record_list;
159 typedef struct IRScanEntry_ {
164 int globalOccurrences;
173 typedef struct IRScanDiag_ {
177 typedef struct IRScanObj_ {
180 int numberOfTermsRequested;
181 int preferredPositionInResponse;
184 int numberOfEntriesReturned;
193 IRScanEntry *entries;
194 IRScanDiag *nonSurrogateDiagnostics;
197 struct ir_named_entry {
202 int ir_tcl_get_marc (Tcl_Interp *interp, const char *buf,
203 int argc, char **argv);
204 char *ir_tcl_fread_marc (FILE *inf, size_t *size);