1 /* Copyright (C) 2004 artocode LLC. All rights reserved. 2 3 This software is provided AS-IS with no warranty, either express or 4 implied. 5 6 This software is distributed under license and may not be copied, 7 modified or distributed except as expressly authorized under the terms 8 of the license contained in the file LICENSE in this distribution. 9 10 For more information about licensing, please refer to 11 http://www.ghostscript.com/licensing/. For information on 12 commercial licensing, go to http://www.artifex.com/licensing/ or 13 contact Artifex Software, Inc., 101 Lucas Valley Road #110, 14 San Rafael, CA 94903, U.S.A., +1(415)492-9861. 15 */ 16 17 /* $Id: gp_os2.h,v 1.2 2004/10/26 03:51:16 giles Exp $ */ 18 /* Common platform-specific routines for OS/2 */ 19 20 #ifndef gp_os2_INCLUDED 21 # define gp_os2_INCLUDED 22 23 /* If queue_name is NULL, list available queues */ 24 /* If strlen(queue_name)==0, return default queue and driver name */ 25 /* If queue_name supplied, return driver_name */ 26 /* returns 0 if OK, non-zero for error */ 27 int pm_find_queue(char *queue_name, char *driver_name); 28 29 /* Spool file to queue */ 30 /* Return 0 if successful, non-zero if error. */ 31 /* If filename is NULL, return 0 if spool queue is valid, non-zero if error */ 32 int pm_spool(char *filename, const char *queue); 33 34 35 #endif /* gp_os2_INCLUDED */ 36