* OF THIS SOFTWARE.
*
* $Log: data1.h,v $
- * Revision 1.12 1996-01-18 09:46:34 adam
+ * Revision 1.17 1996-07-06 19:58:32 quinn
+ * System headerfiles gathered in yconfig
+ *
+ * Revision 1.16 1996/06/10 08:55:34 quinn
+ * Added Summary. Unfinished work
+ *
+ * Revision 1.15 1996/06/03 09:46:03 quinn
+ * Added OID type.
+ *
+ * Revision 1.14 1996/05/09 07:27:11 quinn
+ * Multiple local values supported.
+ *
+ * Revision 1.13 1996/02/20 16:32:48 quinn
+ * Created util file.
+ *
+ * Revision 1.12 1996/01/18 09:46:34 adam
* Changed prototype for reader function parsed to data1_read_record.
*
* Revision 1.11 1995/12/15 16:19:45 quinn
#include <d1_attset.h>
#include <d1_map.h>
+#define data1_matchstr(s1, s2) yaz_matchstr(s1, s2)
+
extern char *data1_tabpath; /* global path for tables */
#define DATA1_MAX_SYMBOL 31
DATA1K_null
} data1_datatype;
+typedef enum data1_structure
+{
+ DATA1S_word,
+ DATA1S_phrase
+} data1_structure;
+
typedef struct data1_marctab
{
char *name;
struct data1_tagset *next; /* sibling */
} data1_tagset;
+typedef struct data1_termlist
+{
+ data1_att *att;
+ data1_structure structure;
+ struct data1_termlist *next;
+} data1_termlist;
+
/*
* abstract syntax specification
*/
{
char *name;
data1_tag *tag;
- data1_att *att;
+ data1_termlist *termlists;
+ struct data1_element *parent;
struct data1_element *children;
struct data1_element *next;
} data1_element;
int node_selected;
int make_variantlist;
int no_data_requested;
+ int get_bytes;
} tag;
struct
DATA1I_inctxt, /* text inclusion */
DATA1I_incbin, /* binary data inclusion */
DATA1I_text, /* text data */
- DATA1I_num /* numerical data */
+ DATA1I_num, /* numerical data */
+ DATA1I_oid /* object identifier */
} what;
int formatted_text; /* newlines are significant */
int len;
char *data1_nodetomarc(data1_marctab *p, data1_node *n, int selected, int *len);
char *data1_nodetoidsgml(data1_node *n, int select, int *len);
Z_ExplainRecord *data1_nodetoexplain(data1_node *n, int select, ODR o);
+Z_BriefBib *data1_nodetosummary(data1_node *n, int select, ODR o);
#endif