/* Copyright (C) 1995, 1996 artofcode LLC. All rights reserved. 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 of the License, 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; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA, 02111-1307. */ /*$Id: gslib.h,v 1.2.6.1.2.1 2003/01/17 00:49:02 giles Exp $ */ /* Library initialization and finalization interface */ /* Requires stdio.h, gsmemory.h */ #ifndef gslib_INCLUDED # define gslib_INCLUDED /* * Initialize the library. gs_lib_init does all of the initialization, * using the C heap for initial allocation; if a client wants the library to * use a different default allocator during initialization, it should call * gs_lib_init0 and then gs_lib_init1. */ int gs_lib_init(P1(FILE * debug_out)); gs_memory_t *gs_lib_init0(P1(FILE * debug_out)); int gs_lib_init1(P1(gs_memory_t *)); /* Clean up after execution. */ void gs_lib_finit(P2(int exit_status, int code)); #endif /* gslib_INCLUDED */