require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_NLM_PROT_H_RPCGEN)) {
    eval 'sub _NLM_PROT_H_RPCGEN () {1;}' unless defined(&_NLM_PROT_H_RPCGEN);
    eval 'sub RPCGEN_VERSION () {199506;}' unless defined(&RPCGEN_VERSION);
    require 'rpc/rpc.ph';
    eval 'sub LM_MAXSTRLEN () {1024;}' unless defined(&LM_MAXSTRLEN);
    eval 'sub MAXNAMELEN () { &LM_MAXSTRLEN+1;}' unless defined(&MAXNAMELEN);
    eval("sub nlm_granted () { 0; }") unless defined(&nlm_granted);
    eval("sub nlm_denied () { 1; }") unless defined(&nlm_denied);
    eval("sub nlm_denied_nolocks () { 2; }") unless defined(&nlm_denied_nolocks);
    eval("sub nlm_blocked () { 3; }") unless defined(&nlm_blocked);
    eval("sub nlm_denied_grace_period () { 4; }") unless defined(&nlm_denied_grace_period);
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    eval("sub fsm_DN () { 0; }") unless defined(&fsm_DN);
    eval("sub fsm_DR () { 1; }") unless defined(&fsm_DR);
    eval("sub fsm_DW () { 2; }") unless defined(&fsm_DW);
    eval("sub fsm_DRW () { 3; }") unless defined(&fsm_DRW);
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    eval("sub fsa_NONE () { 0; }") unless defined(&fsa_NONE);
    eval("sub fsa_R () { 1; }") unless defined(&fsa_R);
    eval("sub fsa_W () { 2; }") unless defined(&fsa_W);
    eval("sub fsa_RW () { 3; }") unless defined(&fsa_RW);
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    eval 'sub NLM_PROG () {(100021);}' unless defined(&NLM_PROG);
    eval 'sub NLM_VERS () {(1);}' unless defined(&NLM_VERS);
    if(defined(&__cplusplus)) {
	eval 'sub NLM_TEST () {(1);}' unless defined(&NLM_TEST);
	eval 'sub NLM_LOCK () {(2);}' unless defined(&NLM_LOCK);
	eval 'sub NLM_CANCEL () {(3);}' unless defined(&NLM_CANCEL);
	eval 'sub NLM_UNLOCK () {(4);}' unless defined(&NLM_UNLOCK);
	eval 'sub NLM_GRANTED () {(5);}' unless defined(&NLM_GRANTED);
	eval 'sub NLM_TEST_MSG () {(6);}' unless defined(&NLM_TEST_MSG);
	eval 'sub NLM_LOCK_MSG () {(7);}' unless defined(&NLM_LOCK_MSG);
	eval 'sub NLM_CANCEL_MSG () {(8);}' unless defined(&NLM_CANCEL_MSG);
	eval 'sub NLM_UNLOCK_MSG () {(9);}' unless defined(&NLM_UNLOCK_MSG);
	eval 'sub NLM_GRANTED_MSG () {(10);}' unless defined(&NLM_GRANTED_MSG);
	eval 'sub NLM_TEST_RES () {(11);}' unless defined(&NLM_TEST_RES);
	eval 'sub NLM_LOCK_RES () {(12);}' unless defined(&NLM_LOCK_RES);
	eval 'sub NLM_CANCEL_RES () {(13);}' unless defined(&NLM_CANCEL_RES);
	eval 'sub NLM_UNLOCK_RES () {(14);}' unless defined(&NLM_UNLOCK_RES);
	eval 'sub NLM_GRANTED_RES () {(15);}' unless defined(&NLM_GRANTED_RES);
    }
 elsif(defined( &__STDC__)) {
	eval 'sub NLM_TEST () {(1);}' unless defined(&NLM_TEST);
	eval 'sub NLM_LOCK () {(2);}' unless defined(&NLM_LOCK);
	eval 'sub NLM_CANCEL () {(3);}' unless defined(&NLM_CANCEL);
	eval 'sub NLM_UNLOCK () {(4);}' unless defined(&NLM_UNLOCK);
	eval 'sub NLM_GRANTED () {(5);}' unless defined(&NLM_GRANTED);
	eval 'sub NLM_TEST_MSG () {(6);}' unless defined(&NLM_TEST_MSG);
	eval 'sub NLM_LOCK_MSG () {(7);}' unless defined(&NLM_LOCK_MSG);
	eval 'sub NLM_CANCEL_MSG () {(8);}' unless defined(&NLM_CANCEL_MSG);
	eval 'sub NLM_UNLOCK_MSG () {(9);}' unless defined(&NLM_UNLOCK_MSG);
	eval 'sub NLM_GRANTED_MSG () {(10);}' unless defined(&NLM_GRANTED_MSG);
	eval 'sub NLM_TEST_RES () {(11);}' unless defined(&NLM_TEST_RES);
	eval 'sub NLM_LOCK_RES () {(12);}' unless defined(&NLM_LOCK_RES);
	eval 'sub NLM_CANCEL_RES () {(13);}' unless defined(&NLM_CANCEL_RES);
	eval 'sub NLM_UNLOCK_RES () {(14);}' unless defined(&NLM_UNLOCK_RES);
	eval 'sub NLM_GRANTED_RES () {(15);}' unless defined(&NLM_GRANTED_RES);
    } else {
	eval 'sub NLM_TEST () {(1);}' unless defined(&NLM_TEST);
	eval 'sub NLM_LOCK () {(2);}' unless defined(&NLM_LOCK);
	eval 'sub NLM_CANCEL () {(3);}' unless defined(&NLM_CANCEL);
	eval 'sub NLM_UNLOCK () {(4);}' unless defined(&NLM_UNLOCK);
	eval 'sub NLM_GRANTED () {(5);}' unless defined(&NLM_GRANTED);
	eval 'sub NLM_TEST_MSG () {(6);}' unless defined(&NLM_TEST_MSG);
	eval 'sub NLM_LOCK_MSG () {(7);}' unless defined(&NLM_LOCK_MSG);
	eval 'sub NLM_CANCEL_MSG () {(8);}' unless defined(&NLM_CANCEL_MSG);
	eval 'sub NLM_UNLOCK_MSG () {(9);}' unless defined(&NLM_UNLOCK_MSG);
	eval 'sub NLM_GRANTED_MSG () {(10);}' unless defined(&NLM_GRANTED_MSG);
	eval 'sub NLM_TEST_RES () {(11);}' unless defined(&NLM_TEST_RES);
	eval 'sub NLM_LOCK_RES () {(12);}' unless defined(&NLM_LOCK_RES);
	eval 'sub NLM_CANCEL_RES () {(13);}' unless defined(&NLM_CANCEL_RES);
	eval 'sub NLM_UNLOCK_RES () {(14);}' unless defined(&NLM_UNLOCK_RES);
	eval 'sub NLM_GRANTED_RES () {(15);}' unless defined(&NLM_GRANTED_RES);
    }
    eval 'sub NLM_VERSX () {(3);}' unless defined(&NLM_VERSX);
    if(defined(&__cplusplus)) {
	eval 'sub NLM_SHARE () {(20);}' unless defined(&NLM_SHARE);
	eval 'sub NLM_UNSHARE () {(21);}' unless defined(&NLM_UNSHARE);
	eval 'sub NLM_NM_LOCK () {(22);}' unless defined(&NLM_NM_LOCK);
	eval 'sub NLM_FREE_ALL () {(23);}' unless defined(&NLM_FREE_ALL);
    }
 elsif(defined( &__STDC__)) {
	eval 'sub NLM_SHARE () {(20);}' unless defined(&NLM_SHARE);
	eval 'sub NLM_UNSHARE () {(21);}' unless defined(&NLM_UNSHARE);
	eval 'sub NLM_NM_LOCK () {(22);}' unless defined(&NLM_NM_LOCK);
	eval 'sub NLM_FREE_ALL () {(23);}' unless defined(&NLM_FREE_ALL);
    } else {
	eval 'sub NLM_SHARE () {(20);}' unless defined(&NLM_SHARE);
	eval 'sub NLM_UNSHARE () {(21);}' unless defined(&NLM_UNSHARE);
	eval 'sub NLM_NM_LOCK () {(22);}' unless defined(&NLM_NM_LOCK);
	eval 'sub NLM_FREE_ALL () {(23);}' unless defined(&NLM_FREE_ALL);
    }
}
1;
