/*
 * Scan 'C' Header File
 * Written by Thomas Krehbiel
 *
 * Standard hook header file.
 *
 */

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif

#include <scan2/modall.h>
#include <exec/execbase.h>


void hook_main (int argc, char **argv);
void hook_exit (int rc);
void hook_fail (char *message);


extern struct ScanBase        *ScanBase;
extern struct IntuitionBase   *IntuitionBase;
extern struct GfxBase         *GfxBase;

extern struct ExecBase        *SysBase;

extern char                  **HookTextArray;

#define TXT(i)                (HookTextArray[i])

extern char                   *GetStr(int idx, char *def);
