xref: /haiku/headers/private/kernel/ksystem_info.h (revision 820dca4df6c7bf955c46e8f6521b9408f50b2900)
1 /*
2  * Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _KERNEL_SYSTEM_INFO_H
6 #define _KERNEL_SYSTEM_INFO_H
7 
8 
9 #include <OS.h>
10 
11 
12 struct kernel_args;
13 
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 
20 status_t system_info_init(struct kernel_args *args);
21 status_t system_notifications_init();
22 const char* get_haiku_revision(void);
23 
24 status_t _user_get_system_info(system_info *userInfo, size_t size);
25 status_t _user_get_system_info_etc(int32 id, void *buffer,
26 			size_t bufferSize);
27 
28 status_t _user_start_watching_system(int32 object, uint32 flags, port_id port,
29 			int32 token);
30 status_t _user_stop_watching_system(int32 object, uint32 flags, port_id port,
31 			int32 token);
32 
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 
38 
39 #endif	/* _KERNEL_SYSTEM_INFO_H */
40