#ifndef INLINE_XPRZMODEM_H
#define INLINE_XPRZMODEM_H

/*
    *** Automatically generated from '/home/aros/ABIv0/Build/20110803/AROS/contrib/aminet/comm/term/xprz351/lib.conf'. Edits will be lost. ***
    Copyright © 1995-2011, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Inline function for xprzmodem
*/

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


static inline long __inline_XProtocol_XProtocolCleanup(struct XPR_IO* __arg1, APTR __XProtocolBase)
{
    return AROS_LC1(long, XProtocolCleanup,
        AROS_LCA(struct XPR_IO*,(__arg1),A0),
        struct Library *, (__XProtocolBase), 5, XProtocol    );
}

#define XProtocolCleanup(arg1) \
    __inline_XProtocol_XProtocolCleanup((arg1), (APTR)XProtocolBase)

static inline long __inline_XProtocol_XProtocolSetup(struct XPR_IO * __arg1, APTR __XProtocolBase)
{
    return AROS_LC1(long, XProtocolSetup,
        AROS_LCA(struct XPR_IO *,(__arg1),A0),
        struct Library *, (__XProtocolBase), 6, XProtocol    );
}

#define XProtocolSetup(arg1) \
    __inline_XProtocol_XProtocolSetup((arg1), (APTR)XProtocolBase)

static inline long __inline_XProtocol_XProtocolSend(struct XPR_IO * __arg1, APTR __XProtocolBase)
{
    return AROS_LC1(long, XProtocolSend,
        AROS_LCA(struct XPR_IO *,(__arg1),A0),
        struct Library *, (__XProtocolBase), 7, XProtocol    );
}

#define XProtocolSend(arg1) \
    __inline_XProtocol_XProtocolSend((arg1), (APTR)XProtocolBase)

static inline long __inline_XProtocol_XProtocolReceive(struct XPR_IO * __arg1, APTR __XProtocolBase)
{
    return AROS_LC1(long, XProtocolReceive,
        AROS_LCA(struct XPR_IO *,(__arg1),A0),
        struct Library *, (__XProtocolBase), 8, XProtocol    );
}

#define XProtocolReceive(arg1) \
    __inline_XProtocol_XProtocolReceive((arg1), (APTR)XProtocolBase)

static inline long __inline_XProtocol_XProtocolHostMon(struct XPR_IO * __arg1, char * __arg2, long __arg3, long __arg4, APTR __XProtocolBase)
{
    return AROS_LC4(long, XProtocolHostMon,
        AROS_LCA(struct XPR_IO *,(__arg1),A0),
        AROS_LCA(char *,(__arg2),A1),
        AROS_LCA(long,(__arg3),D0),
        AROS_LCA(long,(__arg4),D1),
        struct Library *, (__XProtocolBase), 9, XProtocol    );
}

#define XProtocolHostMon(arg1, arg2, arg3, arg4) \
    __inline_XProtocol_XProtocolHostMon((arg1), (arg2), (arg3), (arg4), (APTR)XProtocolBase)

static inline long __inline_XProtocol_XProtocolUserMon(struct XPR_IO * __arg1, char * __arg2, long __arg3, long __arg4, APTR __XProtocolBase)
{
    return AROS_LC4(long, XProtocolUserMon,
        AROS_LCA(struct XPR_IO *,(__arg1),A0),
        AROS_LCA(char *,(__arg2),A1),
        AROS_LCA(long,(__arg3),D0),
        AROS_LCA(long,(__arg4),D1),
        struct Library *, (__XProtocolBase), 10, XProtocol    );
}

#define XProtocolUserMon(arg1, arg2, arg3, arg4) \
    __inline_XProtocol_XProtocolUserMon((arg1), (arg2), (arg3), (arg4), (APTR)XProtocolBase)

#endif /* INLINE_XPRZMODEM_H*/
