Archive-Unzip-Burst
view release on metacpan or search on metacpan
unzip-6.0/macos/UnZp.h view on Meta::CPAN
/*
Copyright (c) 1990-2000 Info-ZIP. All rights reserved.
See the accompanying file LICENSE, version 2000-Apr-09 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html
*/
/*---------------------------------------------------------------------------
UnZp.h
This header-files is global to the project Unzip standalone.
---------------------------------------------------------------------------*/
/*****************************************************************************/
/* Macros, typedefs */
/*****************************************************************************/
#define MACUNZIP_STANDALONE
#define MACUNZIP
/* These functions are defined as a macro instead of a function.
so we have to undefine them for replacing */
#undef getc
#undef getchar
#undef putchar
#undef putc
#ifndef TRUE
#define TRUE 1
#endif /* TRUE */
#ifndef FALSE
#define FALSE 0
#endif /* FALSE */
/*****************************************************************************/
/* Includes standard headers */
/*****************************************************************************/
#include <ansi_prefix.mac.h>
#include <TextUtils.h>
#include <Folders.h>
#include <Aliases.h>
#include <Resources.h>
#include <Gestalt.h>
#include <Traps.h>
#include <Processes.h>
#include <MacWindows.h>
#include <Fonts.h>
#include <ToolUtils.h>
#include <Dialogs.h>
#include <Devices.h>
#include <StandardFile.h>
/*
#define MAC_DEBUG 1
*/
#ifdef MAC_DEBUG
#define LOG_DEBUG 7 /* debug-level messages */
int Print2Syslog(UInt8 priority, const char *format, ...);
#include <ctype.h>
#define Notify(msg) \
{ \
(void)Print2Syslog(LOG_DEBUG, "%s (file: %s line: %d)", \
msg, __FILE__, __LINE__); \
}
#define Assert_it(cond,msg,kind) \
( run in 2.068 seconds using v1.01-cache-2.11-cpan-cdf2f3d4e48 )