/usr/include/epub_shared.h is in libepub-dev 0.2.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #ifndef EPUB_SHARED_H
#define EPUB_SHARED_H 1
#ifdef _WIN32
# ifdef epub_EXPORTS
# define EPUB_EXPORT __declspec(dllexport)
# else
# define EPUB_EXPORT __declspec(dllimport)
# endif
#else
# define EPUB_EXPORT
#endif
/**
Metadata types
*/
enum epub_metadata {
EPUB_ID, /**< ebook id*/
EPUB_TITLE, /**< ebook title*/
EPUB_CREATOR, /**< ebook creator*/
EPUB_CONTRIB, /**< ebook contributor*/
EPUB_SUBJECT, /**< ebook subject*/
EPUB_PUBLISHER, /**< ebook publisher*/
EPUB_DESCRIPTION, /**< ebook description*/
EPUB_DATE, /**< ebook data */
EPUB_TYPE, /**< ebook type */
EPUB_FORMAT, /**< ebook format */
EPUB_SOURCE, /**< ebook source */
EPUB_LANG, /**< ebook language */
EPUB_RELATION, /**< ebook relation*/
EPUB_COVERAGE, /**< ebook coverage*/
EPUB_RIGHTS,/**< ebook rights */
EPUB_META /**< ebook extra metadata*/
};
/**
Ebook Iterator types
*/
enum eiterator_type {
EITERATOR_SPINE, /**< all the spine */
EITERATOR_LINEAR, /**< the linear reading spine parts */
EITERATOR_NONLINEAR /**< the non linear reading spine parts */
/* EITERATOR_TOUR */
};
/**
Ebook Table Of Content Iterator types
*/
enum titerator_type {
TITERATOR_NAVMAP, /**< Navigation map */
TITERATOR_GUIDE, /**< Guide to the ebook parts */
TITERATOR_PAGES /**< The pages of the ebook */
};
#endif
|