/* Copyright (c) 2001, Stanford University
* All rights reserved.
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#ifndef CR_DLL_H
#define CR_DLL_H
#if defined(WINDOWS)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
char *name;
#if defined(WINDOWS)
#elif defined(IRIX) || defined(IRIX64) || defined(Linux) || defined(FreeBSD) || defined(AIX) || defined(SunOS) || defined(OSF1)
void *hinstLib;
#else
#endif
} CRDLL;
typedef void (*CRDLLFunc)(void);
#ifdef __cplusplus
}
#endif
#endif /* CR_DLL_H */