blob: 4cd36fe98173c2953edc786acafdc6a01eec2be5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Miguel de Icaza
3 */
4#ifndef __ASM_INVENTORY_H
5#define __ASM_INVENTORY_H
6
7typedef struct inventory_s {
8 struct inventory_s *inv_next;
9 int inv_class;
10 int inv_type;
11 int inv_controller;
12 int inv_unit;
13 int inv_state;
14} inventory_t;
15
16extern int inventory_items;
17void add_to_inventory (int class, int type, int controller, int unit, int state);
18int dump_inventory_to_user (void *userbuf, int size);
19
20#endif /* __ASM_INVENTORY_H */