require '_h2ph_pre.ph';

eval("sub AMI_CCB_FREE () { 0; }") unless defined(&AMI_CCB_FREE);
eval("sub AMI_CCB_READY () { 1; }") unless defined(&AMI_CCB_READY);
eval("sub AMI_CCB_QUEUED () { 2; }") unless defined(&AMI_CCB_QUEUED);
eval("sub AMI_CCB_PREQUEUED () { 3; }") unless defined(&AMI_CCB_PREQUEUED);
unless(defined(&AMI_LOCK_AMI)) {
    sub AMI_LOCK_AMI {
	local($sc) = @_;
	eval q( &splbio());
    }
}
unless(defined(&AMI_UNLOCK_AMI)) {
    sub AMI_UNLOCK_AMI {
	local($sc, $lock) = @_;
	eval q( &splx($lock));
    }
}
1;
