#ifndef EXEC_DEVICES_H
#define EXEC_DEVICES_H

/*
    (C) 1997 AROS - The Amiga Replacement OS
    $Id: devices.h,v 1.1 1997/02/28 21:56:05 srittau Exp $

    Desc: Device handling
    Lang: english
*/

#ifndef EXEC_LIBRARIES_H
#   include <exec/libraries.h>
#endif
#ifndef EXEC_PORTS_H
#   include <exec/ports.h>
#endif

struct Device
{
    struct Library dd_Library;
};

struct Unit
{
    struct MsgPort unit_MsgPort;
    UBYTE          unit_flags;
    UBYTE          unit_pad;
    UWORD          unit_OpenCnt;
};

#define UNITF_ACTIVE (1<<0)
#define UNITF_INTASK (1<<1)

#endif /* EXEC_DEVICES_H */
