2 * IR toolkit for tcl/tk
4 * See the file LICENSE for details.
5 * Sebastian Hammer, Adam Dickmeiss
8 * Revision 1.9 1995-06-14 15:08:01 adam
9 * Bug fix in cascade-target-list. Uses yaz-version.h.
11 * Revision 1.8 1995/06/14 13:37:18 adam
12 * Setting recordType implemented.
13 * Setting implementationVersion implemented.
14 * Settings implementationId / implementationName edited.
16 * Revision 1.7 1995/06/01 07:31:28 adam
17 * Rename of many typedefs -> IrTcl_...
19 * Revision 1.6 1995/05/31 08:36:40 adam
20 * Bug fix in client.tcl: didn't save options on clientrc.tcl.
21 * New method: referenceId. More work on scan.
23 * Revision 1.5 1995/05/29 08:44:25 adam
24 * Work on delete of objects.
26 * Revision 1.4 1995/05/26 11:44:10 adam
27 * Bugs fixed. More work on MARC utilities and queries. Test
28 * client is up-to-date again.
30 * Revision 1.3 1995/05/26 08:54:17 adam
31 * New MARC utilities. Uses prefix query.
33 * Revision 1.2 1995/05/24 14:10:23 adam
34 * Work on idAuthentication, protocolVersion and options.
36 * Revision 1.1 1995/05/23 15:34:49 adam
37 * Many new settings, userInformationField, smallSetUpperBound, etc.
38 * A number of settings are inherited when ir-set is executed.
39 * This version is incompatible with the graphical test client (client.tcl).
61 #include <yaz-version.h>
71 int num_databaseNames;
77 int smallSetUpperBound;
78 int largeSetLowerBound;
79 int mediumSetPresentNumber;
90 int preferredMessageSize;
91 int maximumRecordSize;
93 Odr_bitmask protocolVersion;
95 char *idAuthenticationOpen;
96 char *idAuthenticationGroupId;
97 char *idAuthenticationUserId;
98 char *idAuthenticationPassword;
100 char *implementationName;
101 char *implementationId;
102 char *implementationVersion;
104 char *targetImplementationName;
105 char *targetImplementationId;
106 char *targetImplementationVersion;
107 char *userInformationField;
129 struct IrTcl_SetObj_ *set_child;
130 struct IrTcl_ScanObj_ *scan_child;
132 IrTcl_SetCObj set_inher;
135 typedef struct IrTcl_RecordList_ {
149 struct IrTcl_RecordList_ *next;
152 typedef struct IrTcl_SetObj_ {
157 int nextResultSetPosition;
160 int numberOfRecordsReturned;
166 IrTcl_RecordList *record_list;
167 IrTcl_SetCObj set_inher;
170 typedef struct IrTcl_ScanEntry_ {
175 int globalOccurrences;
184 typedef struct IrTcl_ScanDiag_ {
188 typedef struct IrTcl_ScanObj_ {
191 int numberOfTermsRequested;
192 int preferredPositionInResponse;
195 int numberOfEntriesReturned;
204 IrTcl_ScanEntry *entries;
205 IrTcl_ScanDiag *nonSurrogateDiagnostics;
208 struct ir_named_entry {
213 int ir_tcl_get_marc (Tcl_Interp *interp, const char *buf,
214 int argc, char **argv);
215 char *ir_tcl_fread_marc (FILE *inf, size_t *size);