
#ifndef INSTALLERNG_FUNCTIONPLUGIN_BASE_H
#define INSTALLERNG_FUNCTIONPLUGIN_BASE_H

/*
**  $VER: ingfunplugin_base.h 38.0 (10.12.2000)
**  (C) by Jens Tröger
**
*/

#include <exec/libraries.h>

#ifndef MAKE_ID
#define MAKE_ID(a,b,c,d) ((ULONG) (a)<<24 | (ULONG) (b)<<16 | (ULONG) (c)<<8 | (ULONG) (d))
#endif

// this magic constant identifies an arbitrary library
// as an installerNG function plugin
#define ING_FUNPLUGIN_MAGIC MAKE_ID('I','N','G','P')

// the module base
struct InstallerNGFunPluginBase
{
  struct Library ingfp_Library;  // the library structure itself
  ULONG          ingfp_Magic;    // the magic constant
};

// StormC needs this #pragma to determine the size of the library base
#ifdef __STORMC__
#ifdef __LINKMODULELIBRARY__
#pragma libbase InstallerNGFunPluginBase
#endif
#endif

#endif


