#ifndef DEFINES_HOSTLIB_PROTOS_H
#define DEFINES_HOSTLIB_PROTOS_H

/*
    *** Automatically generated from 'hostlib.conf'. Edits will be lost. ***
    Copyright © 1995-2008, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Defines for hostlib
*/

#include <aros/libcall.h>
#include <exec/types.h>
#include <aros/preprocessor/variadic/cast2iptr.hpp>


#define __HostLib_Open_WB(__HostLibBase, __arg1, __arg2) \
        AROS_LC2(void *, HostLib_Open, \
                  AROS_LCA(const char *,(__arg1),A0), \
                  AROS_LCA(char **,(__arg2),A1), \
        APTR , (__HostLibBase), 1, HostLib)

#define HostLib_Open(arg1, arg2) \
    __HostLib_Open_WB(HostLibBase, (arg1), (arg2))

#define __HostLib_Close_WB(__HostLibBase, __arg1, __arg2) \
        AROS_LC2(int, HostLib_Close, \
                  AROS_LCA(void *,(__arg1),A0), \
                  AROS_LCA(char **,(__arg2),A1), \
        APTR , (__HostLibBase), 2, HostLib)

#define HostLib_Close(arg1, arg2) \
    __HostLib_Close_WB(HostLibBase, (arg1), (arg2))

#define __HostLib_GetPointer_WB(__HostLibBase, __arg1, __arg2, __arg3) \
        AROS_LC3(void *, HostLib_GetPointer, \
                  AROS_LCA(void *,(__arg1),A0), \
                  AROS_LCA(const char *,(__arg2),A1), \
                  AROS_LCA(char **,(__arg3),A2), \
        APTR , (__HostLibBase), 3, HostLib)

#define HostLib_GetPointer(arg1, arg2, arg3) \
    __HostLib_GetPointer_WB(HostLibBase, (arg1), (arg2), (arg3))

#endif /* DEFINES_HOSTLIB_PROTOS_H*/
