6250297a08
* increase _SYS_NAMELEN defined in sys/utsname.h to 128 to allow long(ish) revisions * sHaikuRevision is now a static character array (in both libroot and kernel) * adjust build tool set_haiku_revision to write the revision as string git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41389 a95241bf-73f2-0310-859d-f6bbb57e9c96
40 lines
803 B
C
40 lines
803 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();
|
|
const char* 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 */
|