Wed, 12 Mar 2003 11:17:00 +0000
remove the word 'copyright' from producer string in PDF file info.
1 /*
2 * t2p: Create a PDF file from the contents of one or more TIFF
3 * bilevel image files. The images in the resulting PDF file
4 * will be compressed using ITU-T T.6 (G4) fax encoding.
5 *
6 * PDF routines
7 * $Id: pdf_util.h,v 1.5 2003/03/07 03:02:12 eric Exp $
8 * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation. Note that permission is
13 * not granted to redistribute this program under the terms of any
14 * other version of the General Public License.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
24 */
27 #include <assert.h>
30 void pdf_fatal (char *fmt, ...) __attribute__ ((noreturn));
32 void *pdf_calloc (size_t nmemb, size_t size);
34 char *pdf_strdup (char *s);
36 #if 1
37 #define pdf_assert(cond) assert(cond)
38 #else
39 #define pdf_assert(cond) do \
40 { \
41 if (! (cond)) \
42 pdf_fatal ("assert at %s(%d)\n", __FILE__, __LINE__); \
43 } while (0)
44 #endif