/* $Id: init.h,v 1.5 2001/05/08 23:14:24 lcs Exp $ */

/*
     ISA-PnP -- A Plug And Play ISA software layer for AmigaOS.
     Copyright (C) 2001 Martin Blom <martin@blom.org>
     
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
     License as published by the Free Software Foundation; either
     version 2 of the License, or (at your option) any later version.
     
     This library is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     Library General Public License for more details.
     
     You should have received a copy of the GNU Library General Public
     License along with this library; if not, write to the
     Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
     MA 02139, USA.
*/

#ifndef	ISA_PNP_init_h
#define ISA_PNP_init_h

#include "CompilerSpecific.h"

#include <exec/types.h>

struct ISAPNPBase* res;

void
FreeISAPNPBase( struct ISAPNPBase* res );

BOOL
OpenLibs( void );

void
CloseLibs( void );

void
KPrintFArgs( UBYTE* fmt, 
             LONG*  args );

#define KPrintF( fmt, ... )        \
({                                 \
  LONG _args[] = { __VA_ARGS__ };  \
  KPrintFArgs( (fmt), _args );     \
})

#endif /* ISA_PNP_init_h */
