Blame tools/tiff2pdf.h

Packit df99a1
//C-  -*- C -*-
Packit df99a1
//C- -------------------------------------------------------------------
Packit df99a1
//C- DjView4
Packit df99a1
//C- Copyright (c) 2006  Leon Bottou
Packit df99a1
//C-
Packit df99a1
//C- This software is subject to, and may be distributed under, the
Packit df99a1
//C- GNU General Public License, either version 2 of the license,
Packit df99a1
//C- or (at your option) any later version. The license should have
Packit df99a1
//C- accompanied the software or you may obtain a copy of the license
Packit df99a1
//C- from the Free Software Foundation at http://www.fsf.org .
Packit df99a1
//C-
Packit df99a1
//C- This program is distributed in the hope that it will be useful,
Packit df99a1
//C- but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit df99a1
//C- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit df99a1
//C- GNU General Public License for more details.
Packit df99a1
//C-  ------------------------------------------------------------------
Packit df99a1
Packit df99a1
#ifndef TIFF2PDF_H
Packit df99a1
# define TIFF2PDF_H
Packit df99a1
# if HAVE_CONFIG_H
Packit df99a1
#  include "config.h"
Packit df99a1
# endif
Packit df99a1
# if HAVE_TIFF
Packit df99a1
#  include <stdio.h>
Packit df99a1
#  include <stddef.h>
Packit df99a1
#  include <stdlib.h>
Packit df99a1
#  include <tiff.h>
Packit df99a1
#  include <tiffio.h>
Packit df99a1
#  include <tiffconf.h>
Packit df99a1
#  ifdef TIFFLIB_VERSION
Packit df99a1
#   if TIFFLIB_VERSION > 20041104
Packit df99a1
#    define HAVE_TIFF2PDF 1
Packit df99a1
#   endif
Packit df99a1
#  endif
Packit df99a1
# endif
Packit df99a1
# if HAVE_TIFF2PDF
Packit df99a1
#  ifdef __cplusplus
Packit df99a1
extern "C" {
Packit df99a1
#  endif
Packit df99a1
int tiff2pdf(TIFF *input, FILE *output, int argc, const char **argv);
Packit df99a1
#  ifdef __cplusplus
Packit df99a1
}
Packit df99a1
#  endif
Packit df99a1
# endif  /* HAVE_TIFF2PDF */
Packit df99a1
#endif /* TIFF2PDF_H */