haiku/headers/private/kernel/ksystem_info.h
Ingo Weinhold d23cadce4c [_{kern,user}_]{start,stop}_system_watching()
-> [_{kern,user}_]{start,stop}_watching_system()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-16 17:01:23 +00:00

40 lines
798 B
C

/*
* Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_SYSTEM_INFO_H
#define _KERNEL_SYSTEM_INFO_H
#include <OS.h>
struct kernel_args;
#ifdef __cplusplus
extern "C" {
#endif
status_t system_info_init(struct kernel_args *args);
status_t system_notifications_init();
uint32 get_haiku_revision(void);
status_t _user_get_system_info(system_info *userInfo, size_t size);
status_t _user_get_system_info_etc(int32 id, void *buffer,
size_t bufferSize);
status_t _user_start_watching_system(int32 object, uint32 flags, port_id port,
int32 token);
status_t _user_stop_watching_system(int32 object, uint32 flags, port_id port,
int32 token);
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_SYSTEM_INFO_H */