/******************************************************************
**
** APT.H:
** Definitions and Types for all APT modules
** This file is part of Apt Computing Tools (ACT)
** Copyright (c) 1991 -- Apt Technologies
** All rights reserved
******************************************************************/
#ifndef APT_H
#define APT_H
#include <stdlib.h>
/* ---------- Defines */
#ifndef ERROR
#define ERROR -1
#endif
#ifndef EXTERN
#define EXTERN extern
#ifndef FAILURE
#define FAILURE -1
#ifndef FALSE
#define FALSE 0
#ifndef INFINITY
#define INFINITY 32768L
#ifndef PRIVATE
#define PRIVATE static
#ifndef PUBLIC
#define PUBLIC
#ifndef SUCCESS
#define SUCCESS 1
#ifndef TRUE
#define TRUE 1
/* ---------- Types */
#ifndef __ANSI_C__
#define __ANSI_C__
typedef void (*ApplyFunction)(void*);
typedef void (*ApplyFunction1)(void*,void*);
typedef void (*ApplyFunction2)(void*,void*,void*);
typedef void (*ApplyFunction3)(void*,void*,void*,void*);
typedef int (*ComparisonFunction)(void*, void*);
typedef void (*DisposeFunction)(void*);
typedef void (*ApplyFunctionGeneric)(void* target, void* args[]);
#endif /* APT_H */