IDZEBRA  2.1.2
inline.h
Go to the documentation of this file.
1 /* This file is part of the Zebra server.
2  Copyright (C) Index Data
3 
4 Zebra is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 2, or (at your option) any later
7 version.
8 
9 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13 
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 */
19 #ifndef INLINE_H
20 #define INLINE_H
21 
22 #include "marcomp.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 
29 typedef struct inline_field
30 {
31  char *name;
32  char *ind1;
33  char *ind2;
35 } inline_field;
36 typedef struct inline_subfield
37 {
38  char *name;
39  char *data;
43 
45 int inline_parse(inline_field *pf, const char *tag, const char *s);
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif
53 /*
54  * Local variables:
55  * c-basic-offset: 4
56  * c-file-style: "Stroustrup"
57  * indent-tabs-mode: nil
58  * End:
59  * vim: shiftwidth=4 tabstop=8 expandtab
60  */
61 
struct inline_subfield * parent
Definition: inline.h:41
char * data
Definition: inline.h:39
char * name
Definition: inline.h:31
char * name
Definition: inline.h:38
struct inline_subfield * next
Definition: inline.h:40
char * ind2
Definition: inline.h:33
struct inline_subfield inline_subfield
void inline_destroy_field(inline_field *p)
Definition: inline.c:46
inline_field * inline_mk_field(void)
Definition: inline.c:30
struct inline_field inline_field
struct inline_subfield * list
Definition: inline.h:34
int inline_parse(inline_field *pf, const char *tag, const char *s)
Definition: inline.c:97
char * ind1
Definition: inline.h:32