diff options
Diffstat (limited to 'include/asm-mips/inventory.h')
-rw-r--r-- | include/asm-mips/inventory.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-mips/inventory.h b/include/asm-mips/inventory.h new file mode 100644 index 000000000000..4cd36fe98173 --- /dev/null +++ b/include/asm-mips/inventory.h | |||
@@ -0,0 +1,20 @@ | |||
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 */ | ||