#ifndef _UAPI_LINUX_APM_H
#define _UAPI_LINUX_APM_H
#include <linux/types.h>
apm_event_t;
apm_eventinfo_t;
struct apm_bios_info { … };
#define APM_STATE_READY …
#define APM_STATE_STANDBY …
#define APM_STATE_SUSPEND …
#define APM_STATE_OFF …
#define APM_STATE_BUSY …
#define APM_STATE_REJECT …
#define APM_STATE_OEM_SYS …
#define APM_STATE_OEM_DEV …
#define APM_STATE_DISABLE …
#define APM_STATE_ENABLE …
#define APM_STATE_DISENGAGE …
#define APM_STATE_ENGAGE …
#define APM_SYS_STANDBY …
#define APM_SYS_SUSPEND …
#define APM_NORMAL_RESUME …
#define APM_CRITICAL_RESUME …
#define APM_LOW_BATTERY …
#define APM_POWER_STATUS_CHANGE …
#define APM_UPDATE_TIME …
#define APM_CRITICAL_SUSPEND …
#define APM_USER_STANDBY …
#define APM_USER_SUSPEND …
#define APM_STANDBY_RESUME …
#define APM_CAPABILITY_CHANGE …
#define APM_USER_HIBERNATION …
#define APM_HIBERNATION_RESUME …
#define APM_SUCCESS …
#define APM_DISABLED …
#define APM_CONNECTED …
#define APM_NOT_CONNECTED …
#define APM_16_CONNECTED …
#define APM_16_UNSUPPORTED …
#define APM_32_CONNECTED …
#define APM_32_UNSUPPORTED …
#define APM_BAD_DEVICE …
#define APM_BAD_PARAM …
#define APM_NOT_ENGAGED …
#define APM_BAD_FUNCTION …
#define APM_RESUME_DISABLED …
#define APM_NO_ERROR …
#define APM_BAD_STATE …
#define APM_NO_EVENTS …
#define APM_NOT_PRESENT …
#define APM_DEVICE_BIOS …
#define APM_DEVICE_ALL …
#define APM_DEVICE_DISPLAY …
#define APM_DEVICE_STORAGE …
#define APM_DEVICE_PARALLEL …
#define APM_DEVICE_SERIAL …
#define APM_DEVICE_NETWORK …
#define APM_DEVICE_PCMCIA …
#define APM_DEVICE_BATTERY …
#define APM_DEVICE_OEM …
#define APM_DEVICE_OLD_ALL …
#define APM_DEVICE_CLASS …
#define APM_DEVICE_MASK …
#define APM_MAX_BATTERIES …
#define APM_CAP_GLOBAL_STANDBY …
#define APM_CAP_GLOBAL_SUSPEND …
#define APM_CAP_RESUME_STANDBY_TIMER …
#define APM_CAP_RESUME_SUSPEND_TIMER …
#define APM_CAP_RESUME_STANDBY_RING …
#define APM_CAP_RESUME_SUSPEND_RING …
#define APM_CAP_RESUME_STANDBY_PCMCIA …
#define APM_CAP_RESUME_SUSPEND_PCMCIA …
#include <linux/ioctl.h>
#define APM_IOC_STANDBY …
#define APM_IOC_SUSPEND …
#endif