/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 2000-2011 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* Glenn Fowler <[email protected]> *17* Phong Vo <[email protected]> *18* *19***********************************************************************/20#pragma prototyped2122#ifndef _IVHDR_H23#define _IVHDR_H 12425#if _PACKAGE_ast || _PACKAGE_astsa26#include <ast.h>27#else2829extern void* malloc _ARG_((size_t));30extern void* calloc _ARG_((size_t, size_t));31extern void free _ARG_((void*));3233extern void abort _ARG_((void));3435#endif3637#include <iv.h>38#include <ivmethods.h>39#include <cdt.h>4041#ifndef NIL42#define NIL(t) ((t)0)43#endif4445#ifndef OFFSET46#define OFFSET(t,e) ((size_t)(&(((t*)0)->e)) )47#endif4849#ifndef ASSERT50#ifdef DEBUG51#define ASSERT(p) ((p) ? 0 : (abort(),0))52#else53#define ASSERT(p)54#endif55#endif5657#endif /* _IVHDR_H */585960