require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_RF__RF_PSSTATUS_H_)) {
    eval 'sub _RF__RF_PSSTATUS_H_ () {1;}' unless defined(&_RF__RF_PSSTATUS_H_);
    require 'rf_types.ph';
    require 'rf_threadstuff.ph';
    require 'rf_callback.ph';
    eval 'sub RF_PS_MAX_BUFS () {10;}' unless defined(&RF_PS_MAX_BUFS);
    eval 'sub RF_PSS_DEFAULT_TABLESIZE () {200;}' unless defined(&RF_PSS_DEFAULT_TABLESIZE);
    eval 'sub RF_HASH_PSID {
        my($_raid_,$_psid_) = @_;
	    eval q((($_psid_) % (($_raid_)-> &pssTableSize)));
    }' unless defined(&RF_HASH_PSID);
    eval 'sub RF_LOCK_PSS_MUTEX {
        my($_raidPtr,$_row,$_psid) = @_;
	    eval q( &RF_LOCK_MUTEX(($_raidPtr)-> $reconControl[$_row] -> ($pssTable[RF_HASH_PSID($_raidPtr, _psid)]->{mutex})));
    }' unless defined(&RF_LOCK_PSS_MUTEX);
    eval 'sub RF_UNLOCK_PSS_MUTEX {
        my($_raidPtr, $_row, $_psid) = @_;
	    eval q( &RF_UNLOCK_MUTEX(($_raidPtr)-> $reconControl[$_row] -> ($pssTable[RF_HASH_PSID($_raidPtr, _psid)]->{mutex})));
    }' unless defined(&RF_UNLOCK_PSS_MUTEX);
    eval 'sub RF_PSS_NONE () {0x;}' unless defined(&RF_PSS_NONE);
    eval 'sub RF_PSS_UNDER_RECON () {0x1;}' unless defined(&RF_PSS_UNDER_RECON);
    eval 'sub RF_PSS_FORCED_ON_WRITE () {0x2;}' unless defined(&RF_PSS_FORCED_ON_WRITE);
    eval 'sub RF_PSS_FORCED_ON_READ () {0x4;}' unless defined(&RF_PSS_FORCED_ON_READ);
    eval 'sub RF_PSS_RECON_BLOCKED () {0x8;}' unless defined(&RF_PSS_RECON_BLOCKED);
    eval 'sub RF_PSS_CREATE () {0x10;}' unless defined(&RF_PSS_CREATE);
    eval 'sub RF_PSS_BUFFERWAIT () {0x20;}' unless defined(&RF_PSS_BUFFERWAIT);
}
1;
