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
13extern "C"
14{
15
16 int ebookXMLReadFromStream(void *context, char *buffer, int len);
17 int ebookXMLCloseStream(void *context);
18
19}
20
21namespace libebook
22{
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: */
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