YAZ  5.23.1
z-facet-1.h
Go to the documentation of this file.
1 
7 #ifndef z_facet_1_H
8 #define z_facet_1_H
9 
10 #include <yaz/odr.h>
11 #include <yaz/z-core.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct Z_FacetList Z_FacetList;
17 YAZ_EXPORT int z_FacetList(ODR o, Z_FacetList **p, int opt, const char *name);
18 
19 typedef struct Z_FacetField Z_FacetField;
20 YAZ_EXPORT int z_FacetField(ODR o, Z_FacetField **p, int opt, const char *name);
21 
22 typedef struct Z_FacetTerm Z_FacetTerm;
23 YAZ_EXPORT int z_FacetTerm(ODR o, Z_FacetTerm **p, int opt, const char *name);
24 #ifdef __cplusplus
25 }
26 #endif
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 struct Z_FacetList {
31  int num;
33 };
34 
35 struct Z_FacetField {
37  int num_terms;
38  Z_FacetTerm **terms; /* OPT */
39 };
40 
41 struct Z_FacetTerm {
44 };
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 #endif
Header for ODR (Open Data Representation)
ASN.1 Module Z39-50-APDU-1995.
Z_AttributeList * attributes
Definition: z-facet-1.h:36
int z_FacetField(ODR o, Z_FacetField **p, int opt, const char *name)
Definition: z-facet-1.c:24
int z_FacetTerm(ODR o, Z_FacetTerm **p, int opt, const char *name)
Definition: z-facet-1.c:37
char * name
Definition: initopt.c:18
nmem_int_t Odr_int
Definition: odr.h:47
int num_terms
Definition: z-facet-1.h:37
Definition: z-core.h:536
int z_FacetList(ODR o, Z_FacetList **p, int opt, const char *name)
Definition: z-facet-1.c:12
Definition: odr.h:124
int opt
Definition: initopt.c:19
Z_FacetField ** elements
Definition: z-facet-1.h:32
Odr_int * count
Definition: z-facet-1.h:43
Z_Term * term
Definition: z-facet-1.h:42
Z_FacetTerm ** terms
Definition: z-facet-1.h:38