Split MARC reader functions out of marcdisp.c. Prepare for MARC format
[yaz-moved-to-github.git] / src / marc_read_line.c
1 /*
2  * Copyright (C) 1995-2006, Index Data ApS
3  * See the file LICENSE for details.
4  *
5  * $Id: marc_read_line.c,v 1.1 2006-12-15 12:37:18 adam Exp $
6  */
7
8 /**
9  * \file marc_read_iso2709.c
10  * \brief Implements reading of MARC as ISO2709
11  */
12
13 #if HAVE_CONFIG_H
14 #include <config.h>
15 #endif
16
17 #ifdef WIN32
18 #include <windows.h>
19 #endif
20
21 #include <stdio.h>
22 #include <string.h>
23 #include <ctype.h>
24
25 #include <yaz/marcdisp.h>
26 #include <yaz/wrbuf.h>
27 #include <yaz/yaz-util.h>
28
29 int yaz_marc_read_line(yaz_marc_t mt,
30                        int (*getbyte)(void *client_data),
31                        void (*ungetbyte)(int b, void *client_data),
32                        void *client_data)
33 {
34     yaz_marc_reset(mt);
35
36     return -1;
37 }
38
39 /*
40  * Local variables:
41  * c-basic-offset: 4
42  * indent-tabs-mode: nil
43  * End:
44  * vim: shiftwidth=4 tabstop=8 expandtab
45  */
46