libebook_xml.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libe-book project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef LIBEBOOK_XML_H_INCLUDED
11#define LIBEBOOK_XML_H_INCLUDED
12
13 extern "C"
14{
15
16 int ebookXMLReadFromStream(void *context, char *buffer, int len);
17 int ebookXMLCloseStream(void *context);
18
19}
20
21 namespace libebook
22{
23
24 const char *char_cast(const char *c);
25 const char *char_cast(const signed char *c);
26 const char *char_cast(const unsigned char *c);
27
28 const char **char_array_cast(const char **c);
29 const char **char_array_cast(const signed char **c);
30 const char **char_array_cast(const unsigned char **c);
31
32}
33
34#endif // LIBEBOOK_XML_H_INCLUDED
35
36/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
len
size_t len
Definition EBOOKHTMLParser.cpp:47
context
ContextType context
Definition XMLCollector.cpp:568
ebookXMLReadFromStream
int ebookXMLReadFromStream(void *context, char *buffer, int len)
Definition libebook_xml.cpp:19
ebookXMLCloseStream
int ebookXMLCloseStream(void *context)
Definition libebook_xml.cpp:43
libebook
Definition BBeBCollector.cpp:19
libebook::char_cast
const char * char_cast(const char *const c)
Definition libebook_xml.cpp:53
libebook::char_array_cast
const char ** char_array_cast(const char **const c)
Definition libebook_xml.cpp:68