libebook_xml.h Source File documentation

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#include <memory>
14
15#include <librevenge-stream/librevenge-stream.h>
16
17#include <libxml/xmlreader.h>
18
19namespace libebook
20{
21
22std::unique_ptr<xmlTextReader, void(*)(xmlTextReaderPtr)> makeXmlReader(librevenge::RVNGInputStream *input);
23
24const char *char_cast(const char *c);
25const char *char_cast(const signed char *c);
26const char *char_cast(const unsigned char *c);
27
28const char **char_array_cast(const char **c);
29const char **char_array_cast(const signed char **c);
30const 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: */
libebook::EBOOKHTMLToken::input
@ input
Definition EBOOKHTMLToken.h:89
libebook
Definition BBeBCollector.cpp:20
libebook::makeXmlReader
std::unique_ptr< xmlTextReader, void(*)(xmlTextReaderPtr)> makeXmlReader(librevenge::RVNGInputStream *input)
Definition libebook_xml.cpp:53
libebook::char_cast
const char * char_cast(const char *const c)
Definition libebook_xml.cpp:62
libebook::char_array_cast
const char ** char_array_cast(const char **const c)
Definition libebook_xml.cpp:77