btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / kernel / boot_item.h
blob30553cf3dbb245942d3ccae327d9ef7a9243e48d
1 /*
2 * Copyright 2005-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _KERNEL_BOOT_ITEM_H
6 #define _KERNEL_BOOT_ITEM_H
8 #include <SupportDefs.h>
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 extern status_t boot_item_init(void);
17 extern status_t add_boot_item(const char *name, void *data, size_t size);
18 extern void *get_boot_item(const char *name, size_t *_size);
20 #ifdef __cplusplus
22 #endif
24 #endif /* _KERNEL_BOOT_ITEM_H */