Added support of the complex indexing for MARC records (whithout documentation yet).
[idzebra-moved-to-github.git] / recctrl / inline.h
1 #ifndef INLINE_H
2 #define INLINE_H
3
4 #include "marcomp.h"
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10
11 typedef struct inline_field
12 {
13     char *name;
14     char *ind1;
15     char *ind2;
16     struct inline_subfield *list;
17 } inline_field;
18 typedef struct inline_subfield
19 {
20     char *name;
21     char *data;
22     struct inline_subfield *next;
23     struct inline_subfield *parent;
24 } inline_subfield;
25
26 inline_field *inline_parse(const char *s);
27 void inline_destroy_field(inline_field *p);
28
29 #ifdef __cplusplus
30 }
31 #endif
32
33 #endif