824N/A * (c) Copyright 1991-1994 Adobe Systems Incorporated. 824N/A * Permission to use, copy, modify, distribute, and sublicense this software 824N/A * and its documentation for any purpose and without fee is hereby granted, 824N/A * provided that the above copyright notices appear in all copies and that 824N/A * both those copyright notices and this permission notice appear in 824N/A * supporting documentation and that the name of Adobe Systems Incorporated 824N/A * not be used in advertising or publicity pertaining to distribution of the 824N/A * software without specific, written prior permission. No trademark license 824N/A * to use the Adobe trademarks is hereby granted. If the Adobe trademark 824N/A * "Display PostScript"(tm) is used to describe this software, its 824N/A * functionality or for any other purpose, such use shall be limited to a 824N/A * statement that this software works in conjunction with the Display 824N/A * PostScript system. Proper trademark attribution to reflect Adobe's 824N/A * ownership of the trademark shall be given whenever any such reference to 824N/A * the Display PostScript system is made. 824N/A * ADOBE MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THE SOFTWARE FOR 824N/A * ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. 824N/A * ADOBE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL 824N/A * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 824N/A * NON- INFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL ADOBE BE LIABLE 824N/A * TO YOU OR ANY OTHER PARTY FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL 824N/A * DAMAGES OR ANY DAMAGES WHATSOEVER WHETHER IN AN ACTION OF CONTRACT, 824N/A * NEGLIGENCE, STRICT LIABILITY OR ANY OTHER ACTION ARISING OUT OF OR IN 824N/A * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ADOBE WILL NOT 824N/A * PROVIDE ANY TRAINING OR OTHER SUPPORT FOR THE SOFTWARE. 824N/A * Adobe, PostScript, and Display PostScript are trademarks of Adobe Systems 824N/A * Incorporated which may be registered in certain jurisdictions 824N/A * Author: Adobe Systems Incorporated 824N/A/* MT is the right pointer type to pass to memcpy, MST the size type */ 824N/A int filled;
/* Whether has all names or just already found names */ 824N/A "Syntax error found in PostScript resource file %s:\n %s\n",
824N/A/* Just like fgets, but strips trailing newline, eliminates trailing comments, 824N/A skips trailing white space, skips blank lines, and chops lines longer 824N/A/* Sep returns the first unquoted position of the break character. The 824N/A dontDequote character only applies after the break character. If the 824N/A separator character is doubled, doubleSep is set to 1 and only one 824N/A of the separators is installed */ 824N/A /* Compare against magic value */ 824N/A/* Store away old name buffer so pointers to it do not become invalid */ 824N/A/* Verify that the name matches the name in the file */ 824N/A /* Insert the prefix unless one of these special values */ 824N/A/* Returns a line, including continuations. Memory must be copied before 824N/A/* Assumes being correctly positioned in the file */ 824N/A /* If no separator, a bogus line */ 824N/A /* Next line is UNIX specific! */ 824N/A/* Assumes being correctly positioned in the file */ 824N/A /* If next type has offset, just go there */ 824N/A/* Assumes being correctly positioned in the file */ 824N/A/* Returns nonzero if current paths different from saved ones */ 824N/A/* Like SetUpSavedPaths, but never affects saved state */ 824N/A /* We're at the start of the resource section; read all of them */ 824N/A /* No resources of this type; try the next type */ 824N/A "File changed during execution");
824N/A /* We're at the start of the resource section; read the sections that 824N/A are in the cached type list or are the passed in type */ 824N/A /* No resources of this type; try the next type */ 824N/A "File changed during execution");
824N/A /* We're at the start of the resource section; read the name in the 824N/A section for the passed in type */ 824N/A "File changed during execution");
824N/A /* No resources of this type; try the next type */ 824N/A "File changed during execution");
824N/A /* Make two passes; the first figures out if we're going to have to read 824N/A the file to service this request. If we are, open the file and read 824N/A in sections in the saved list (from SetPSResourcePolicy). If not 824N/A just saving return values, make sure we read in everything 824N/A /* Nuts, have to read the file */ 824N/A "File changed during execution");
824N/A /* Make two passes; first count, then set and return */ 824N/A/* Assumes being correctly positioned in the file */ 824N/A /* If no separator, a bogus line */ 824N/A /* Next line is UNIX specific! */ 824N/A /* No resources of this type; try the next type */