2 * IR toolkit for tcl/tk
4 * See the file LICENSE for details.
5 * Sebastian Hammer, Adam Dickmeiss
8 * Revision 1.8 1995-06-14 13:37:18 adam
9 * Setting recordType implemented.
10 * Setting implementationVersion implemented.
11 * Settings implementationId / implementationName edited.
13 * Revision 1.7 1995/06/01 07:31:28 adam
14 * Rename of many typedefs -> IrTcl_...
16 * Revision 1.6 1995/05/31 08:36:40 adam
17 * Bug fix in client.tcl: didn't save options on clientrc.tcl.
18 * New method: referenceId. More work on scan.
20 * Revision 1.5 1995/05/29 08:44:25 adam
21 * Work on delete of objects.
23 * Revision 1.4 1995/05/26 11:44:10 adam
24 * Bugs fixed. More work on MARC utilities and queries. Test
25 * client is up-to-date again.
27 * Revision 1.3 1995/05/26 08:54:17 adam
28 * New MARC utilities. Uses prefix query.
30 * Revision 1.2 1995/05/24 14:10:23 adam
31 * Work on idAuthentication, protocolVersion and options.
33 * Revision 1.1 1995/05/23 15:34:49 adam
34 * Many new settings, userInformationField, smallSetUpperBound, etc.
35 * A number of settings are inherited when ir-set is executed.
36 * This version is incompatible with the graphical test client (client.tcl).
67 int num_databaseNames;
73 int smallSetUpperBound;
74 int largeSetLowerBound;
75 int mediumSetPresentNumber;
86 int preferredMessageSize;
87 int maximumRecordSize;
89 Odr_bitmask protocolVersion;
91 char *idAuthenticationOpen;
92 char *idAuthenticationGroupId;
93 char *idAuthenticationUserId;
94 char *idAuthenticationPassword;
96 char *implementationName;
97 char *implementationId;
98 char *implementationVersion;
100 char *targetImplementationName;
101 char *targetImplementationId;
102 char *targetImplementationVersion;
103 char *userInformationField;
125 struct IrTcl_SetObj_ *set_child;
126 struct IrTcl_ScanObj_ *scan_child;
128 IrTcl_SetCObj set_inher;
131 typedef struct IrTcl_RecordList_ {
145 struct IrTcl_RecordList_ *next;
148 typedef struct IrTcl_SetObj_ {
153 int nextResultSetPosition;
156 int numberOfRecordsReturned;
162 IrTcl_RecordList *record_list;
163 IrTcl_SetCObj set_inher;
166 typedef struct IrTcl_ScanEntry_ {
171 int globalOccurrences;
180 typedef struct IrTcl_ScanDiag_ {
184 typedef struct IrTcl_ScanObj_ {
187 int numberOfTermsRequested;
188 int preferredPositionInResponse;
191 int numberOfEntriesReturned;
200 IrTcl_ScanEntry *entries;
201 IrTcl_ScanDiag *nonSurrogateDiagnostics;
204 struct ir_named_entry {
209 int ir_tcl_get_marc (Tcl_Interp *interp, const char *buf,
210 int argc, char **argv);
211 char *ir_tcl_fread_marc (FILE *inf, size_t *size);