/usr/include/minidjvu/base/1error.h is in libminidjvu-dev 0.8.svn.2010.05.06-2.
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 | /*
* 1error.h - error handling
*/
typedef const struct MinidjvuError *mdjvu_error_t;
/* TODO: distinguish non-bitonal and corrupted files */
typedef enum
{
mdjvu_error_fopen_write,
mdjvu_error_fopen_read,
mdjvu_error_io,
mdjvu_error_corrupted_pbm,
mdjvu_error_corrupted_bmp,
mdjvu_error_corrupted_djvu,
mdjvu_error_corrupted_jb2,
mdjvu_error_corrupted_tiff,
mdjvu_error_wrong_djvu_type,
mdjvu_error_djvu_no_Sjbz,
mdjvu_error_recursive_prototypes,
mdjvu_error_tiff_support_disabled,
mdjvu_error_png_support_disabled
} MinidjvuErrorType;
MDJVU_FUNCTION const char *mdjvu_get_error_message(mdjvu_error_t);
MDJVU_FUNCTION mdjvu_error_t mdjvu_get_error(MinidjvuErrorType);
|