require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_SENSORS_H_)) {
    eval 'sub _SYS_SENSORS_H_ () {1;}' unless defined(&_SYS_SENSORS_H_);
    eval("sub SENSOR_TEMP () { 0; }") unless defined(&SENSOR_TEMP);
    eval("sub SENSOR_FANRPM () { 1; }") unless defined(&SENSOR_FANRPM);
    eval("sub SENSOR_VOLTS_DC () { 2; }") unless defined(&SENSOR_VOLTS_DC);
    eval("sub SENSOR_VOLTS_AC () { 3; }") unless defined(&SENSOR_VOLTS_AC);
    eval("sub SENSOR_OHMS () { 4; }") unless defined(&SENSOR_OHMS);
    eval("sub SENSOR_WATTS () { 5; }") unless defined(&SENSOR_WATTS);
    eval("sub SENSOR_AMPS () { 6; }") unless defined(&SENSOR_AMPS);
    eval("sub SENSOR_WATTHOUR () { 7; }") unless defined(&SENSOR_WATTHOUR);
    eval("sub SENSOR_AMPHOUR () { 8; }") unless defined(&SENSOR_AMPHOUR);
    eval("sub SENSOR_INDICATOR () { 9; }") unless defined(&SENSOR_INDICATOR);
    eval("sub SENSOR_INTEGER () { 10; }") unless defined(&SENSOR_INTEGER);
    eval("sub SENSOR_PERCENT () { 11; }") unless defined(&SENSOR_PERCENT);
    eval("sub SENSOR_LUX () { 12; }") unless defined(&SENSOR_LUX);
    eval("sub SENSOR_DRIVE () { 13; }") unless defined(&SENSOR_DRIVE);
    eval("sub SENSOR_TIMEDELTA () { 14; }") unless defined(&SENSOR_TIMEDELTA);
    eval("sub SENSOR_MAX_TYPES () { 15; }") unless defined(&SENSOR_MAX_TYPES);
    unless(defined(&_KERNEL)) {
    }
    eval 'sub SENSOR_DRIVE_EMPTY () {1;}' unless defined(&SENSOR_DRIVE_EMPTY);
    eval 'sub SENSOR_DRIVE_READY () {2;}' unless defined(&SENSOR_DRIVE_READY);
    eval 'sub SENSOR_DRIVE_POWERUP () {3;}' unless defined(&SENSOR_DRIVE_POWERUP);
    eval 'sub SENSOR_DRIVE_ONLINE () {4;}' unless defined(&SENSOR_DRIVE_ONLINE);
    eval 'sub SENSOR_DRIVE_IDLE () {5;}' unless defined(&SENSOR_DRIVE_IDLE);
    eval 'sub SENSOR_DRIVE_ACTIVE () {6;}' unless defined(&SENSOR_DRIVE_ACTIVE);
    eval 'sub SENSOR_DRIVE_REBUILD () {7;}' unless defined(&SENSOR_DRIVE_REBUILD);
    eval 'sub SENSOR_DRIVE_POWERDOWN () {8;}' unless defined(&SENSOR_DRIVE_POWERDOWN);
    eval 'sub SENSOR_DRIVE_FAIL () {9;}' unless defined(&SENSOR_DRIVE_FAIL);
    eval 'sub SENSOR_DRIVE_PFAIL () {10;}' unless defined(&SENSOR_DRIVE_PFAIL);
    eval("sub SENSOR_S_UNSPEC () { 0; }") unless defined(&SENSOR_S_UNSPEC);
    eval("sub SENSOR_S_OK () { 1; }") unless defined(&SENSOR_S_OK);
    eval("sub SENSOR_S_WARN () { 2; }") unless defined(&SENSOR_S_WARN);
    eval("sub SENSOR_S_CRIT () { 3; }") unless defined(&SENSOR_S_CRIT);
    eval("sub SENSOR_S_UNKNOWN () { 4; }") unless defined(&SENSOR_S_UNKNOWN);
    eval 'sub SENSOR_FINVALID () {0x1;}' unless defined(&SENSOR_FINVALID);
    eval 'sub SENSOR_FUNKNOWN () {0x2;}' unless defined(&SENSOR_FUNKNOWN);
    eval 'sub MAXSENSORDEVICES () {32;}' unless defined(&MAXSENSORDEVICES);
    if(defined(&_KERNEL)) {
    }
}
1;
