PSres.c revision 824
824N/A#ifdef XENVIRONMENT
824N/A#ifndef PSRES_NAME
824N/Atypedef int (*ReadContentsFunction)();
824N/Atypedef struct _ResourceNameStruct {
824N/Atypedef struct _ResourceTypeStruct {
824N/A char *nameBuffer;
824N/A char **oldNameBuffers;
824N/A int oldNameCount;
824N/Atypedef struct _ResourceDirectoryStruct {
824N/A char *typeNameBuffer;
824N/A char *filePrefix;
824N/A long endOfHeader;
824N/A#ifdef XENVIRONMENT
824N/A#ifdef MALLOC_0_RETURNS_NULL
824N/A#ifdef XENVIRONMENT
824N/A#ifdef MALLOC_0_RETURNS_NULL
824N/A#ifdef NO_VOID_STAR
824N/A#ifdef NO_VOID_STAR
824N/A#define STRIP_BLANKS \
824N/A#define RETURN_BUF \
824N/A else RETURN_BUF;
824N/A else RETURN_BUF;
824N/A char dontDequote;
824N/A char dontDequote;
824N/Astatic int linebuflen = 0;
824N/Astatic char *ReadFullLine(f)
824N/Astatic void FreeLineBuf()
824N/A linebuflen = 0;
824N/A int insertPrefix;
824N/A char dontDequote;
824N/A int doubleEquals;
824N/A int addingPrefix;
824N/A if (insertPrefix) {
824N/A if (addingPrefix) {
824N/A int everything;
824N/A t->oldNameCount = 0;
824N/A if (!everything) return;
824N/A static int extensionLen = 0;
824N/A char *pathOverride;
824N/A char *defaultPath;
824N/A char *pathOverride;
824N/A char *defaultPath;
824N/A return latestTime;
824N/A return latestTime;
824N/A return savedPathOverride;
824N/A return environmentPath;
824N/A char **resourceTypes;
824N/A char *resourceType;
824N/A char *resourceName;
824N/A switch (currentPolicy) {
824N/A case PSSaveEverything:
824N/A case PSSaveByType:
824N/A case PSSaveReturnValues:
824N/A char *resourceType;
824N/A char *resourceName;
824N/A switch (currentPolicy) {
824N/A case PSSaveEverything:
824N/A case PSSaveByType:
824N/A case PSSaveReturnValues:
824N/A char *resourceType;
824N/A char *resourceName;
824N/A char ***resourceNamesReturn;
824N/A char ***resourceFilesReturn;
824N/A char *psResourcePathOverride;
824N/A char *defaultPath;
824N/A char *resourceType;
824N/A char *resourceName;
824N/A char ***resourceNamesReturn;
824N/A char ***resourceFilesReturn;
824N/A char *pathOverride;
824N/A char *defaultPath;
824N/A char ***typesReturn;
824N/A } else lastModifiedTime =
824N/A typeBufSize * sizeof(char *));
824N/A typeBufSize * sizeof(int));
824N/A int insertPrefix;
824N/A char dontDequote;
824N/A int doubleEquals;
824N/A int addingPrefix;
824N/A if (insertPrefix) {
824N/A if (addingPrefix) {
824N/A char *pathOverride;
824N/A char *defaultPath;
824N/A char *resourceType;
824N/A char *resourceName;
824N/A char *pathOverride;
824N/A char *defaultPath;