2 * IR toolkit for tcl/tk
4 * See the file LICENSE for details.
5 * Sebastian Hammer, Adam Dickmeiss
8 * Revision 1.7 1995-06-01 07:31:28 adam
9 * Rename of many typedefs -> IrTcl_...
11 * Revision 1.6 1995/05/31 08:36:40 adam
12 * Bug fix in client.tcl: didn't save options on clientrc.tcl.
13 * New method: referenceId. More work on scan.
15 * Revision 1.5 1995/05/29 08:44:25 adam
16 * Work on delete of objects.
18 * Revision 1.4 1995/05/26 11:44:10 adam
19 * Bugs fixed. More work on MARC utilities and queries. Test
20 * client is up-to-date again.
22 * Revision 1.3 1995/05/26 08:54:17 adam
23 * New MARC utilities. Uses prefix query.
25 * Revision 1.2 1995/05/24 14:10:23 adam
26 * Work on idAuthentication, protocolVersion and options.
28 * Revision 1.1 1995/05/23 15:34:49 adam
29 * Many new settings, userInformationField, smallSetUpperBound, etc.
30 * A number of settings are inherited when ir-set is executed.
31 * 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 IrTcl_SetObj_ *set_child;
120 struct IrTcl_ScanObj_ *scan_child;
122 IrTcl_SetCObj set_inher;
125 typedef struct IrTcl_RecordList_ {
138 struct IrTcl_RecordList_ *next;
141 typedef struct IrTcl_SetObj_ {
146 int nextResultSetPosition;
149 int numberOfRecordsReturned;
155 IrTcl_RecordList *record_list;
156 IrTcl_SetCObj set_inher;
159 typedef struct IrTcl_ScanEntry_ {
164 int globalOccurrences;
173 typedef struct IrTcl_ScanDiag_ {
177 typedef struct IrTcl_ScanObj_ {
180 int numberOfTermsRequested;
181 int preferredPositionInResponse;
184 int numberOfEntriesReturned;
193 IrTcl_ScanEntry *entries;
194 IrTcl_ScanDiag *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);