#ifndef BASECONV_H
#define BASECONV_H

#include <proto/exec.h>
#include <proto/dos.h>
#include <proto/utility.h>

#include <stdarg.h>
#include <string.h>

#define STXT	STATIC const TEXT

#ifndef Prototype
#define Prototype extern
#endif !Prototype

typedef struct RDArgs ARGS;

typedef struct Config
{
	BPTR   fi;
	BPTR   fo;
	BPTR   fe;
	BOOL   CloseFE;
	ARGS  *DObj;
	ARGS  *Args;
	TEXT  *From;
	TEXT  *To;
	TEXT **Number;
	LONG   ToUpper;
	LONG   ToLower;
	VOID  *Dummy;	
	LONG   BaseFrom;
	LONG   BaseTo;
	LONG   RC;
	LONG   R2;
	TEXT  *ErrMsg;
} CFG;

#include "BaseConv_ver.h"
#include "BaseConv_protos.h"

Prototype ULONG	 UMul32(ULONG,ULONG);
Prototype ULONG	 UDiv32(ULONG,ULONG);
Prototype ULONG	 UMod32(ULONG,ULONG);

Prototype __stkargs VOID _exit(LONG);

#endif !BASECONV_H
