device.h File Reference

Device identifier, state and usage statistics. More...

#include <adt/int_map.h>

Go to the source code of this file.

Data Structures

struct  device_stats
 Device usage statistics. More...

Defines

#define DEVICE_INVALID_ID   (-1)
 Invalid device identifier.
#define DEVICE_MAP_DECLARE   INT_MAP_DECLARE
 Device identifier to generic type map declaration.
#define DEVICE_MAP_IMPLEMENT   INT_MAP_IMPLEMENT
 Device identifier to generic type map implementation.

Typedefs

typedef int device_id_t
 Device identifier type.
typedef enum device_state device_state_t
 Device state type.
typedef device_stats device_stats_t
 Type definition of the device usage statistics.

Enumerations

enum  device_state { NETIF_NULL = 0, NETIF_STOPPED, NETIF_ACTIVE, NETIF_CARRIER_LOST }
 Device state. More...


Detailed Description

Device identifier, state and usage statistics.

Definition in file device.h.


Generated on Thu Jun 2 07:45:53 2011 for HelenOS/USB by  doxygen 1.4.7