Happy new year
[pazpar2-moved-to-github.git] / src / normalize_record.h
1 /* This file is part of Pazpar2.
2    Copyright (C) Index Data
3
4 Pazpar2 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 Pazpar2 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
20 #ifndef NORMALIZE_RECORD_H
21 #define NORMALIZE_RECORD_H
22 typedef struct normalize_record_s *normalize_record_t;
23
24 struct conf_service;
25
26 normalize_record_t normalize_record_create(struct conf_service *service,
27                                            const char *spec);
28
29 void normalize_record_destroy(normalize_record_t nt);
30
31 int normalize_record_transform(normalize_record_t nt, xmlDoc **doc,
32                                const char **parms);
33
34 #endif
35
36 /*
37  * Local variables:
38  * c-basic-offset: 4
39  * c-file-style: "Stroustrup"
40  * indent-tabs-mode: nil
41  * End:
42  * vim: shiftwidth=4 tabstop=8 expandtab
43  */
44