Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Miguel de Icaza |
| 3 | */ |
| 4 | #ifndef __ASM_INVENTORY_H |
| 5 | #define __ASM_INVENTORY_H |
| 6 | |
| 7 | typedef 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 | |
| 16 | extern int inventory_items; |
| 17 | void add_to_inventory (int class, int type, int controller, int unit, int state); |
| 18 | int dump_inventory_to_user (void *userbuf, int size); |
| 19 | |
| 20 | #endif /* __ASM_INVENTORY_H */ |