require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&UBS_MAX_NQUEUE)) {
    eval 'sub UBS_MAX_NQUEUE () {60;}' unless defined(&UBS_MAX_NQUEUE);
}
unless(defined(&UBS_MAX_SCATTER)) {
    sub UBS_MAX_SCATTER () {	64;}
}
unless(defined(&UBS_MAX_AGGR)) {
    eval 'sub UBS_MAX_AGGR () {5;}' unless defined(&UBS_MAX_AGGR);
}
unless(defined(&UBSEC_CARD)) {
    sub UBSEC_CARD {
	my($sid) = @_;
	eval q(((($sid) & 0xf0000000) >> 28));
    }
}
unless(defined(&UBSEC_SESSION)) {
    sub UBSEC_SESSION {
	my($sid) = @_;
	eval q(( ($sid) & 0xfffffff));
    }
}
unless(defined(&UBSEC_SID)) {
    sub UBSEC_SID {
	my($crd, $sesn) = @_;
	eval q(((($crd) << 28) | (($sesn) & 0xfffffff)));
    }
}
unless(defined(&UBS_DEF_RTY)) {
    sub UBS_DEF_RTY () {	0xff;}
}
unless(defined(&UBS_DEF_TOUT)) {
    sub UBS_DEF_TOUT () {	0xff;}
}
unless(defined(&UBS_DEF_CACHELINE)) {
    sub UBS_DEF_CACHELINE () {	0x1;}
}
unless(defined(&UBS_MODEXP_PAR_M)) {
    sub UBS_MODEXP_PAR_M () {	0;}
}
unless(defined(&UBS_MODEXP_PAR_E)) {
    sub UBS_MODEXP_PAR_E () {	1;}
}
unless(defined(&UBS_MODEXP_PAR_N)) {
    sub UBS_MODEXP_PAR_N () {	2;}
}
unless(defined(&UBS_RSAPRIV_PAR_P)) {
    sub UBS_RSAPRIV_PAR_P () {	0;}
}
unless(defined(&UBS_RSAPRIV_PAR_Q)) {
    sub UBS_RSAPRIV_PAR_Q () {	1;}
}
unless(defined(&UBS_RSAPRIV_PAR_DP)) {
    sub UBS_RSAPRIV_PAR_DP () {	2;}
}
unless(defined(&UBS_RSAPRIV_PAR_DQ)) {
    sub UBS_RSAPRIV_PAR_DQ () {	3;}
}
unless(defined(&UBS_RSAPRIV_PAR_PINV)) {
    sub UBS_RSAPRIV_PAR_PINV () {	4;}
}
unless(defined(&UBS_RSAPRIV_PAR_MSGIN)) {
    sub UBS_RSAPRIV_PAR_MSGIN () {	5;}
}
unless(defined(&UBS_RSAPRIV_PAR_MSGOUT)) {
    sub UBS_RSAPRIV_PAR_MSGOUT () {	6;}
}
unless(defined(&UBSEC_RNG_BUFSIZ)) {
    sub UBSEC_RNG_BUFSIZ () {	16;}
}
unless(defined(&UBS_FLAGS_KEY)) {
    sub UBS_FLAGS_KEY () {	0x1;}
}
unless(defined(&UBS_FLAGS_LONGCTX)) {
    sub UBS_FLAGS_LONGCTX () {	0x2;}
}
unless(defined(&UBS_FLAGS_BIGKEY)) {
    sub UBS_FLAGS_BIGKEY () {	0x4;}
}
unless(defined(&UBS_FLAGS_HWNORM)) {
    sub UBS_FLAGS_HWNORM () {	0x8;}
}
unless(defined(&UBS_FLAGS_RNG)) {
    sub UBS_FLAGS_RNG () {	0x10;}
}
unless(defined(&UBSEC_QFLAGS_COPYOUTIV)) {
    sub UBSEC_QFLAGS_COPYOUTIV () {	0x1;}
}
1;
