require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_TELNET_H_)) {
    eval 'sub _TELNET_H_ () {1;}' unless defined(&_TELNET_H_);
    eval 'sub IAC () {255;}' unless defined(&IAC);
    eval 'sub DONT () {254;}' unless defined(&DONT);
    eval 'sub DO () {253;}' unless defined(&DO);
    eval 'sub WONT () {252;}' unless defined(&WONT);
    eval 'sub WILL () {251;}' unless defined(&WILL);
    eval 'sub SB () {250;}' unless defined(&SB);
    eval 'sub GA () {249;}' unless defined(&GA);
    eval 'sub EL () {248;}' unless defined(&EL);
    eval 'sub EC () {247;}' unless defined(&EC);
    eval 'sub AYT () {246;}' unless defined(&AYT);
    eval 'sub AO () {245;}' unless defined(&AO);
    eval 'sub IP () {244;}' unless defined(&IP);
    eval 'sub BREAK () {243;}' unless defined(&BREAK);
    eval 'sub DM () {242;}' unless defined(&DM);
    eval 'sub NOP () {241;}' unless defined(&NOP);
    eval 'sub SE () {240;}' unless defined(&SE);
    eval 'sub EOR () {239;}' unless defined(&EOR);
    eval 'sub ABORT () {238;}' unless defined(&ABORT);
    eval 'sub SUSP () {237;}' unless defined(&SUSP);
    eval 'sub xEOF () {236;}' unless defined(&xEOF);
    eval 'sub SYNCH () {242;}' unless defined(&SYNCH);
    if(defined(&TELCMDS)) {
    } else {
    }
    eval 'sub TELCMD_FIRST () { &xEOF;}' unless defined(&TELCMD_FIRST);
    eval 'sub TELCMD_LAST () { &IAC;}' unless defined(&TELCMD_LAST);
    eval 'sub TELCMD_OK {
        my($x) = @_;
	    eval q((($x) <=  &TELCMD_LAST  && ($x) >=  &TELCMD_FIRST));
    }' unless defined(&TELCMD_OK);
    eval 'sub TELCMD {
        my($x) = @_;
	    eval q( $telcmds[($x)- &TELCMD_FIRST]);
    }' unless defined(&TELCMD);
    eval 'sub TELOPT_BINARY () {0;}' unless defined(&TELOPT_BINARY);
    eval 'sub TELOPT_ECHO () {1;}' unless defined(&TELOPT_ECHO);
    eval 'sub TELOPT_RCP () {2;}' unless defined(&TELOPT_RCP);
    eval 'sub TELOPT_SGA () {3;}' unless defined(&TELOPT_SGA);
    eval 'sub TELOPT_NAMS () {4;}' unless defined(&TELOPT_NAMS);
    eval 'sub TELOPT_STATUS () {5;}' unless defined(&TELOPT_STATUS);
    eval 'sub TELOPT_TM () {6;}' unless defined(&TELOPT_TM);
    eval 'sub TELOPT_RCTE () {7;}' unless defined(&TELOPT_RCTE);
    eval 'sub TELOPT_NAOL () {8;}' unless defined(&TELOPT_NAOL);
    eval 'sub TELOPT_NAOP () {9;}' unless defined(&TELOPT_NAOP);
    eval 'sub TELOPT_NAOCRD () {10;}' unless defined(&TELOPT_NAOCRD);
    eval 'sub TELOPT_NAOHTS () {11;}' unless defined(&TELOPT_NAOHTS);
    eval 'sub TELOPT_NAOHTD () {12;}' unless defined(&TELOPT_NAOHTD);
    eval 'sub TELOPT_NAOFFD () {13;}' unless defined(&TELOPT_NAOFFD);
    eval 'sub TELOPT_NAOVTS () {14;}' unless defined(&TELOPT_NAOVTS);
    eval 'sub TELOPT_NAOVTD () {15;}' unless defined(&TELOPT_NAOVTD);
    eval 'sub TELOPT_NAOLFD () {16;}' unless defined(&TELOPT_NAOLFD);
    eval 'sub TELOPT_XASCII () {17;}' unless defined(&TELOPT_XASCII);
    eval 'sub TELOPT_LOGOUT () {18;}' unless defined(&TELOPT_LOGOUT);
    eval 'sub TELOPT_BM () {19;}' unless defined(&TELOPT_BM);
    eval 'sub TELOPT_DET () {20;}' unless defined(&TELOPT_DET);
    eval 'sub TELOPT_SUPDUP () {21;}' unless defined(&TELOPT_SUPDUP);
    eval 'sub TELOPT_SUPDUPOUTPUT () {22;}' unless defined(&TELOPT_SUPDUPOUTPUT);
    eval 'sub TELOPT_SNDLOC () {23;}' unless defined(&TELOPT_SNDLOC);
    eval 'sub TELOPT_TTYPE () {24;}' unless defined(&TELOPT_TTYPE);
    eval 'sub TELOPT_EOR () {25;}' unless defined(&TELOPT_EOR);
    eval 'sub TELOPT_TUID () {26;}' unless defined(&TELOPT_TUID);
    eval 'sub TELOPT_OUTMRK () {27;}' unless defined(&TELOPT_OUTMRK);
    eval 'sub TELOPT_TTYLOC () {28;}' unless defined(&TELOPT_TTYLOC);
    eval 'sub TELOPT_3270REGIME () {29;}' unless defined(&TELOPT_3270REGIME);
    eval 'sub TELOPT_X3PAD () {30;}' unless defined(&TELOPT_X3PAD);
    eval 'sub TELOPT_NAWS () {31;}' unless defined(&TELOPT_NAWS);
    eval 'sub TELOPT_TSPEED () {32;}' unless defined(&TELOPT_TSPEED);
    eval 'sub TELOPT_LFLOW () {33;}' unless defined(&TELOPT_LFLOW);
    eval 'sub TELOPT_LINEMODE () {34;}' unless defined(&TELOPT_LINEMODE);
    eval 'sub TELOPT_XDISPLOC () {35;}' unless defined(&TELOPT_XDISPLOC);
    eval 'sub TELOPT_OLD_ENVIRON () {36;}' unless defined(&TELOPT_OLD_ENVIRON);
    eval 'sub TELOPT_AUTHENTICATION () {37;}' unless defined(&TELOPT_AUTHENTICATION);
    eval 'sub TELOPT_ENCRYPT () {38;}' unless defined(&TELOPT_ENCRYPT);
    eval 'sub TELOPT_NEW_ENVIRON () {39;}' unless defined(&TELOPT_NEW_ENVIRON);
    eval 'sub TELOPT_EXOPL () {255;}' unless defined(&TELOPT_EXOPL);
    eval 'sub NTELOPTS () {(1+ &TELOPT_NEW_ENVIRON);}' unless defined(&NTELOPTS);
    if(defined(&TELOPTS)) {
	eval 'sub TELOPT_FIRST () { &TELOPT_BINARY;}' unless defined(&TELOPT_FIRST);
	eval 'sub TELOPT_LAST () { &TELOPT_NEW_ENVIRON;}' unless defined(&TELOPT_LAST);
	eval 'sub TELOPT_OK {
	    my($x) = @_;
    	    eval q((($x) <=  &TELOPT_LAST));
	}' unless defined(&TELOPT_OK);
	eval 'sub TELOPT {
	    my($x) = @_;
    	    eval q( $telopts[($x)- &TELOPT_FIRST]);
	}' unless defined(&TELOPT);
    }
    eval 'sub TELQUAL_IS () {0;}' unless defined(&TELQUAL_IS);
    eval 'sub TELQUAL_SEND () {1;}' unless defined(&TELQUAL_SEND);
    eval 'sub TELQUAL_INFO () {2;}' unless defined(&TELQUAL_INFO);
    eval 'sub TELQUAL_REPLY () {2;}' unless defined(&TELQUAL_REPLY);
    eval 'sub TELQUAL_NAME () {3;}' unless defined(&TELQUAL_NAME);
    eval 'sub LFLOW_OFF () {0;}' unless defined(&LFLOW_OFF);
    eval 'sub LFLOW_ON () {1;}' unless defined(&LFLOW_ON);
    eval 'sub LFLOW_RESTART_ANY () {2;}' unless defined(&LFLOW_RESTART_ANY);
    eval 'sub LFLOW_RESTART_XON () {3;}' unless defined(&LFLOW_RESTART_XON);
    eval 'sub LM_MODE () {1;}' unless defined(&LM_MODE);
    eval 'sub LM_FORWARDMASK () {2;}' unless defined(&LM_FORWARDMASK);
    eval 'sub LM_SLC () {3;}' unless defined(&LM_SLC);
    eval 'sub MODE_EDIT () {0x1;}' unless defined(&MODE_EDIT);
    eval 'sub MODE_TRAPSIG () {0x2;}' unless defined(&MODE_TRAPSIG);
    eval 'sub MODE_ACK () {0x4;}' unless defined(&MODE_ACK);
    eval 'sub MODE_SOFT_TAB () {0x8;}' unless defined(&MODE_SOFT_TAB);
    eval 'sub MODE_LIT_ECHO () {0x10;}' unless defined(&MODE_LIT_ECHO);
    eval 'sub MODE_MASK () {0x1f;}' unless defined(&MODE_MASK);
    eval 'sub MODE_FLOW () {0x100;}' unless defined(&MODE_FLOW);
    eval 'sub MODE_ECHO () {0x200;}' unless defined(&MODE_ECHO);
    eval 'sub MODE_INBIN () {0x400;}' unless defined(&MODE_INBIN);
    eval 'sub MODE_OUTBIN () {0x800;}' unless defined(&MODE_OUTBIN);
    eval 'sub MODE_FORCE () {0x1000;}' unless defined(&MODE_FORCE);
    eval 'sub SLC_SYNCH () {1;}' unless defined(&SLC_SYNCH);
    eval 'sub SLC_BRK () {2;}' unless defined(&SLC_BRK);
    eval 'sub SLC_IP () {3;}' unless defined(&SLC_IP);
    eval 'sub SLC_AO () {4;}' unless defined(&SLC_AO);
    eval 'sub SLC_AYT () {5;}' unless defined(&SLC_AYT);
    eval 'sub SLC_EOR () {6;}' unless defined(&SLC_EOR);
    eval 'sub SLC_ABORT () {7;}' unless defined(&SLC_ABORT);
    eval 'sub SLC_EOF () {8;}' unless defined(&SLC_EOF);
    eval 'sub SLC_SUSP () {9;}' unless defined(&SLC_SUSP);
    eval 'sub SLC_EC () {10;}' unless defined(&SLC_EC);
    eval 'sub SLC_EL () {11;}' unless defined(&SLC_EL);
    eval 'sub SLC_EW () {12;}' unless defined(&SLC_EW);
    eval 'sub SLC_RP () {13;}' unless defined(&SLC_RP);
    eval 'sub SLC_LNEXT () {14;}' unless defined(&SLC_LNEXT);
    eval 'sub SLC_XON () {15;}' unless defined(&SLC_XON);
    eval 'sub SLC_XOFF () {16;}' unless defined(&SLC_XOFF);
    eval 'sub SLC_FORW1 () {17;}' unless defined(&SLC_FORW1);
    eval 'sub SLC_FORW2 () {18;}' unless defined(&SLC_FORW2);
    eval 'sub SLC_MCL () {19;}' unless defined(&SLC_MCL);
    eval 'sub SLC_MCR () {20;}' unless defined(&SLC_MCR);
    eval 'sub SLC_MCWL () {21;}' unless defined(&SLC_MCWL);
    eval 'sub SLC_MCWR () {22;}' unless defined(&SLC_MCWR);
    eval 'sub SLC_MCBOL () {23;}' unless defined(&SLC_MCBOL);
    eval 'sub SLC_MCEOL () {24;}' unless defined(&SLC_MCEOL);
    eval 'sub SLC_INSRT () {25;}' unless defined(&SLC_INSRT);
    eval 'sub SLC_OVER () {26;}' unless defined(&SLC_OVER);
    eval 'sub SLC_ECR () {27;}' unless defined(&SLC_ECR);
    eval 'sub SLC_EWR () {28;}' unless defined(&SLC_EWR);
    eval 'sub SLC_EBOL () {29;}' unless defined(&SLC_EBOL);
    eval 'sub SLC_EEOL () {30;}' unless defined(&SLC_EEOL);
    eval 'sub NSLC () {30;}' unless defined(&NSLC);
    eval 'sub SLC_NAMELIST () {"0", "SYNCH", "BRK", "IP", "AO", "AYT", "EOR", "ABORT", "EOF", "SUSP", "EC", "EL", "EW", "RP", "LNEXT", "XON", "XOFF", "FORW1", "FORW2", "MCL", "MCR", "MCWL", "MCWR", "MCBOL", "MCEOL", "INSRT", "OVER", "ECR", "EWR", "EBOL", "EEOL", 0;}' unless defined(&SLC_NAMELIST);
    if(defined(&SLC_NAMES)) {
    } else {
	eval 'sub SLC_NAMES () { &SLC_NAMELIST;}' unless defined(&SLC_NAMES);
    }
    eval 'sub SLC_NAME_OK {
        my($x) = @_;
	    eval q(( > 0 && ($x) <=  &NSLC));
    }' unless defined(&SLC_NAME_OK);
    eval 'sub SLC_NAME {
        my($x) = @_;
	    eval q( $slc_names[$x]);
    }' unless defined(&SLC_NAME);
    eval 'sub SLC_NOSUPPORT () {0;}' unless defined(&SLC_NOSUPPORT);
    eval 'sub SLC_CANTCHANGE () {1;}' unless defined(&SLC_CANTCHANGE);
    eval 'sub SLC_VARIABLE () {2;}' unless defined(&SLC_VARIABLE);
    eval 'sub SLC_DEFAULT () {3;}' unless defined(&SLC_DEFAULT);
    eval 'sub SLC_LEVELBITS () {0x3;}' unless defined(&SLC_LEVELBITS);
    eval 'sub SLC_FUNC () {0;}' unless defined(&SLC_FUNC);
    eval 'sub SLC_FLAGS () {1;}' unless defined(&SLC_FLAGS);
    eval 'sub SLC_VALUE () {2;}' unless defined(&SLC_VALUE);
    eval 'sub SLC_ACK () {0x80;}' unless defined(&SLC_ACK);
    eval 'sub SLC_FLUSHIN () {0x40;}' unless defined(&SLC_FLUSHIN);
    eval 'sub SLC_FLUSHOUT () {0x20;}' unless defined(&SLC_FLUSHOUT);
    eval 'sub OLD_ENV_VAR () {1;}' unless defined(&OLD_ENV_VAR);
    eval 'sub OLD_ENV_VALUE () {0;}' unless defined(&OLD_ENV_VALUE);
    eval 'sub NEW_ENV_VAR () {0;}' unless defined(&NEW_ENV_VAR);
    eval 'sub NEW_ENV_VALUE () {1;}' unless defined(&NEW_ENV_VALUE);
    eval 'sub ENV_ESC () {2;}' unless defined(&ENV_ESC);
    eval 'sub ENV_USERVAR () {3;}' unless defined(&ENV_USERVAR);
    eval 'sub AUTH_WHO_CLIENT () {0;}' unless defined(&AUTH_WHO_CLIENT);
    eval 'sub AUTH_WHO_SERVER () {1;}' unless defined(&AUTH_WHO_SERVER);
    eval 'sub AUTH_WHO_MASK () {1;}' unless defined(&AUTH_WHO_MASK);
    eval 'sub AUTH_HOW_ONE_WAY () {0;}' unless defined(&AUTH_HOW_ONE_WAY);
    eval 'sub AUTH_HOW_MUTUAL () {2;}' unless defined(&AUTH_HOW_MUTUAL);
    eval 'sub AUTH_HOW_MASK () {2;}' unless defined(&AUTH_HOW_MASK);
    eval 'sub AUTHTYPE_NULL () {0;}' unless defined(&AUTHTYPE_NULL);
    eval 'sub AUTHTYPE_KERBEROS_V4 () {1;}' unless defined(&AUTHTYPE_KERBEROS_V4);
    eval 'sub AUTHTYPE_KERBEROS_V5 () {2;}' unless defined(&AUTHTYPE_KERBEROS_V5);
    eval 'sub AUTHTYPE_SPX () {3;}' unless defined(&AUTHTYPE_SPX);
    eval 'sub AUTHTYPE_MINK () {4;}' unless defined(&AUTHTYPE_MINK);
    eval 'sub AUTHTYPE_CNT () {5;}' unless defined(&AUTHTYPE_CNT);
    eval 'sub AUTHTYPE_TEST () {99;}' unless defined(&AUTHTYPE_TEST);
    if(defined(&AUTH_NAMES)) {
    } else {
    }
    eval 'sub AUTHTYPE_NAME_OK {
        my($x) = @_;
	    eval q((($x) <  &AUTHTYPE_CNT));
    }' unless defined(&AUTHTYPE_NAME_OK);
    eval 'sub AUTHTYPE_NAME {
        my($x) = @_;
	    eval q( $authtype_names[$x]);
    }' unless defined(&AUTHTYPE_NAME);
    eval 'sub ENCRYPT_IS () {0;}' unless defined(&ENCRYPT_IS);
    eval 'sub ENCRYPT_SUPPORT () {1;}' unless defined(&ENCRYPT_SUPPORT);
    eval 'sub ENCRYPT_REPLY () {2;}' unless defined(&ENCRYPT_REPLY);
    eval 'sub ENCRYPT_START () {3;}' unless defined(&ENCRYPT_START);
    eval 'sub ENCRYPT_END () {4;}' unless defined(&ENCRYPT_END);
    eval 'sub ENCRYPT_REQSTART () {5;}' unless defined(&ENCRYPT_REQSTART);
    eval 'sub ENCRYPT_REQEND () {6;}' unless defined(&ENCRYPT_REQEND);
    eval 'sub ENCRYPT_ENC_KEYID () {7;}' unless defined(&ENCRYPT_ENC_KEYID);
    eval 'sub ENCRYPT_DEC_KEYID () {8;}' unless defined(&ENCRYPT_DEC_KEYID);
    eval 'sub ENCRYPT_CNT () {9;}' unless defined(&ENCRYPT_CNT);
    eval 'sub ENCTYPE_ANY () {0;}' unless defined(&ENCTYPE_ANY);
    eval 'sub ENCTYPE_DES_CFB64 () {1;}' unless defined(&ENCTYPE_DES_CFB64);
    eval 'sub ENCTYPE_DES_OFB64 () {2;}' unless defined(&ENCTYPE_DES_OFB64);
    eval 'sub ENCTYPE_CNT () {3;}' unless defined(&ENCTYPE_CNT);
    if(defined(&ENCRYPT_NAMES)) {
    } else {
    }
    eval 'sub ENCRYPT_NAME_OK {
        my($x) = @_;
	    eval q((($x) <  &ENCRYPT_CNT));
    }' unless defined(&ENCRYPT_NAME_OK);
    eval 'sub ENCRYPT_NAME {
        my($x) = @_;
	    eval q( $encrypt_names[$x]);
    }' unless defined(&ENCRYPT_NAME);
    eval 'sub ENCTYPE_NAME_OK {
        my($x) = @_;
	    eval q((($x) <  &ENCTYPE_CNT));
    }' unless defined(&ENCTYPE_NAME_OK);
    eval 'sub ENCTYPE_NAME {
        my($x) = @_;
	    eval q( $enctype_names[$x]);
    }' unless defined(&ENCTYPE_NAME);
}
1;
