/* -*- C -*- * liba2ps.h * * shared header with the whole package * Copyright (c) 1988, 89, 90, 91, 92, 93 Miguel Santana * Copyright (c) 1995, 96, 97, 98 Akim Demaille, Miguel Santana * $Id: liba2ps.h.in,v 1.8 1998/03/11 16:59:51 demaille Exp $ */ /* * This file is part of a2ps. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef LIBA2PS_H_ #define LIBA2PS_H_ #undef __BEGIN_DECLS #undef __END_DECLS #ifdef __cplusplus # define __BEGIN_DECLS extern "C" { # define __END_DECLS } #else # define __BEGIN_DECLS /* empty */ # define __END_DECLS /* empty */ #endif #ifndef VOID # if defined (__GNUC__) || __STDC__ # define VOID void # else # define VOID char # endif #endif #ifndef PARAMS # if PROTOTYPES || defined (__STDC__) || defined (_AIX) \ || (defined (__mips) && defined (_SYSTYPE_SVR4)) \ || defined(WIN32) || defined(__cplusplus) # define PARAMS(protos) protos # else # define PARAMS(protos) () # endif #endif /* * The type bool must be defined, for instance with #if HAVE_STDBOOL_H # include #else typedef enum {false = 0, true = 1} bool; #endif */ __BEGIN_DECLS /* * A structure which records any global information liba2ps needs */ struct a2ps_job; /* liba2ps.h:include:liba2ps.h.extract */ __END_DECLS #endif /* !defined(LIBA2PS_H_) */