/*
- * Copyright (c) 1995, Index Data.
+ * Copyright (c) 1995-1996, Index Data.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation, in whole or in part, for any purpose, is hereby granted,
* OF THIS SOFTWARE.
*
* $Log: data1.h,v $
- * Revision 1.14 1996-05-09 07:27:11 quinn
+ * Revision 1.20 1996-10-29 13:34:39 adam
+ * New functions to get/set data1_tabpath.
+ *
+ * Revision 1.19 1996/10/11 11:57:16 quinn
+ * Smallish
+ *
+ * Revision 1.18 1996/10/07 15:29:16 quinn
+ * Added SOIF support
+ *
+ * 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
char *name;
data1_tag *tag;
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;
data1_tagset *data1_read_tagset(char *file);
data1_element *data1_getelementbytagname(data1_absyn *abs,
data1_element *parent, char *tagname);
-Z_GenericRecord *data1_nodetogr(data1_node *n, int select, ODR o);
+Z_GenericRecord *data1_nodetogr(data1_node *n, int select, ODR o, int *len);
int data1_matchstr(char *s1, char *s2);
data1_tag *data1_gettagbyname(data1_tagset *s, char *name);
void data1_free_tree(data1_node *t);
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);
+char *data1_nodetosoif(data1_node *n, int select, int *len);
+void data1_set_tabpath(const char *path);
+const char *data1_get_tabpath(void);
#endif