require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_KLM_PROT_H_RPCGEN)) {
    eval 'sub _KLM_PROT_H_RPCGEN () {1;}' unless defined(&_KLM_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 klm_granted () { 0; }") unless defined(&klm_granted);
    eval("sub klm_denied () { 1; }") unless defined(&klm_denied);
    eval("sub klm_denied_nolocks () { 2; }") unless defined(&klm_denied_nolocks);
    eval("sub klm_working () { 3; }") unless defined(&klm_working);
    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 KLM_PROG () {(100020);}' unless defined(&KLM_PROG);
    eval 'sub KLM_VERS () {(1);}' unless defined(&KLM_VERS);
    if(defined(&__cplusplus)) {
	eval 'sub KLM_TEST () {(1);}' unless defined(&KLM_TEST);
	eval 'sub KLM_LOCK () {(2);}' unless defined(&KLM_LOCK);
	eval 'sub KLM_CANCEL () {(3);}' unless defined(&KLM_CANCEL);
	eval 'sub KLM_UNLOCK () {(4);}' unless defined(&KLM_UNLOCK);
    }
 elsif(defined( &__STDC__)) {
	eval 'sub KLM_TEST () {(1);}' unless defined(&KLM_TEST);
	eval 'sub KLM_LOCK () {(2);}' unless defined(&KLM_LOCK);
	eval 'sub KLM_CANCEL () {(3);}' unless defined(&KLM_CANCEL);
	eval 'sub KLM_UNLOCK () {(4);}' unless defined(&KLM_UNLOCK);
    } else {
	eval 'sub KLM_TEST () {(1);}' unless defined(&KLM_TEST);
	eval 'sub KLM_LOCK () {(2);}' unless defined(&KLM_LOCK);
	eval 'sub KLM_CANCEL () {(3);}' unless defined(&KLM_CANCEL);
	eval 'sub KLM_UNLOCK () {(4);}' unless defined(&KLM_UNLOCK);
    }
}
1;
