IDZEBRA
2.2.7
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <yaz/log.h>
#include <idzebra/data1.h>
#include <yaz/oid_db.h>
Go to the source code of this file.
Functions | |
data1_datatype | data1_maptype (data1_handle dh, char *t) |
data1_tag * | data1_gettagbynum (data1_handle dh, data1_tagset *s, int type, int value) |
data1_tag * | data1_gettagbyname (data1_handle dh, data1_tagset *s, const char *name) |
data1_tagset * | data1_empty_tagset (data1_handle dh) |
data1_tagset * | data1_read_tagset (data1_handle dh, const char *file, int type) |
data1_tagset* data1_empty_tagset | ( | data1_handle | dh | ) |
Definition at line 107 of file d1_tagset.c.
References data1_tagset::children, data1_nmem_get(), data1_tagset::name, data1_tagset::next, data1_tagset::oid, data1_tagset::tags, and data1_tagset::type.
Referenced by data1_read_tagset().
data1_tag* data1_gettagbyname | ( | data1_handle | dh, |
data1_tagset * | s, | ||
const char * | name | ||
) |
Definition at line 84 of file d1_tagset.c.
References data1_tagset::children, data1_gettagbyname(), data1_matchstr, data1_name::name, data1_tag::names, data1_name::next, data1_tag::next, data1_tagset::next, and data1_tagset::tags.
Referenced by data1_gettagbyname(), and data1_nodetogr().
data1_tag* data1_gettagbynum | ( | data1_handle | dh, |
data1_tagset * | s, | ||
int | type, | ||
int | value | ||
) |
Definition at line 64 of file d1_tagset.c.
References data1_tagset::children, data1_gettagbynum(), DATA1T_numeric, data1_tag::next, data1_tagset::next, data1_tag::numeric, data1_tagset::tags, data1_tagset::type, data1_tag::value, and data1_tag::which.
Referenced by data1_gettagbynum(), data1_read_absyn(), and map_children().
data1_datatype data1_maptype | ( | data1_handle | dh, |
char * | t | ||
) |
Definition at line 36 of file d1_tagset.c.
References data1_matchstr, DATA1K_bool, DATA1K_generalizedtime, DATA1K_int, DATA1K_intunit, DATA1K_null, DATA1K_numeric, DATA1K_octetstring, DATA1K_oid, DATA1K_string, DATA1K_structured, and DATA1K_unknown.
Referenced by data1_read_tagset(), and data1_read_varset().
data1_tagset* data1_read_tagset | ( | data1_handle | dh, |
const char * | file, | ||
int | type | ||
) |
Definition at line 120 of file d1_tagset.c.
References data1_tagset::children, data1_empty_tagset(), data1_maptype(), data1_nmem_get(), data1_path_fopen(), data1_read_tagset(), DATA1T_numeric, data1_tag::kind, data1_name::name, data1_tagset::name, data1_tag::names, data1_name::next, data1_tag::next, data1_tagset::next, data1_tag::numeric, data1_tagset::oid, data1_tagset::tags, data1_tag::tagset, data1_tagset::type, data1_tag::value, and data1_tag::which.
Referenced by data1_read_absyn(), and data1_read_tagset().