<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ssh2.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.ssh2.html">SSH2 Functions</a></div> <div class="up"><a href="book.ssh2.html">SSH2</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="ssh2.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="simpara"> The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. </p> <dl> <dt id="constant.ssh2-fingerprint-md5"> <span class="term"> <strong><code>SSH2_FINGERPRINT_MD5</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Flag to <span class="function"><a href="function.ssh2-fingerprint.html" class="function">ssh2_fingerprint()</a></span> requesting hostkey fingerprint as an MD5 hash. </span> </dd> </dt> <dt id="constant.ssh2-fingerprint-sha1"> <span class="term"> <strong><code>SSH2_FINGERPRINT_SHA1</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Flag to <span class="function"><a href="function.ssh2-fingerprint.html" class="function">ssh2_fingerprint()</a></span> requesting hostkey fingerprint as an SHA1 hash. </span> </dd> </dt> <dt id="constant.ssh2-fingerprint-hex"> <span class="term"> <strong><code>SSH2_FINGERPRINT_HEX</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Flag to <span class="function"><a href="function.ssh2-fingerprint.html" class="function">ssh2_fingerprint()</a></span> requesting hostkey fingerprint as a string of hexits. </span> </dd> </dt> <dt id="constant.ssh2-fingerprint-raw"> <span class="term"> <strong><code>SSH2_FINGERPRINT_RAW</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Flag to <span class="function"><a href="function.ssh2-fingerprint.html" class="function">ssh2_fingerprint()</a></span> requesting hostkey fingerprint as a raw string of 8-bit characters. </span> </dd> </dt> <dt id="constant.ssh2-term-unit-chars"> <span class="term"> <strong><code>SSH2_TERM_UNIT_CHARS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Flag to <span class="function"><a href="function.ssh2-shell.html" class="function">ssh2_shell()</a></span> specifying that <em><code class="parameter">width</code></em> and <em><code class="parameter">height</code></em> are provided as character sizes. </span> </dd> </dt> <dt id="constant.ssh2-term-unit-pixels"> <span class="term"> <strong><code>SSH2_TERM_UNIT_PIXELS</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Flag to <span class="function"><a href="function.ssh2-shell.html" class="function">ssh2_shell()</a></span> specifying that <em><code class="parameter">width</code></em> and <em><code class="parameter">height</code></em> are provided in pixel units. </span> </dd> </dt> <dt id="constant.ssh2-default-term-width"> <span class="term"> <strong><code>SSH2_DEFAULT_TERM_WIDTH</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Default terminal width requested by <span class="function"><a href="function.ssh2-shell.html" class="function">ssh2_shell()</a></span>. </span> </dd> </dt> <dt id="constant.ssh2-default-term-height"> <span class="term"> <strong><code>SSH2_DEFAULT_TERM_HEIGHT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Default terminal height requested by <span class="function"><a href="function.ssh2-shell.html" class="function">ssh2_shell()</a></span>. </span> </dd> </dt> <dt id="constant.ssh2-default-term-unit"> <span class="term"> <strong><code>SSH2_DEFAULT_TERM_UNIT</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Default terminal units requested by <span class="function"><a href="function.ssh2-shell.html" class="function">ssh2_shell()</a></span>. </span> </dd> </dt> <dt id="constant.ssh2-stream-stdio"> <span class="term"> <strong><code>SSH2_STREAM_STDIO</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Flag to <span class="function"><a href="function.ssh2-fetch-stream.html" class="function">ssh2_fetch_stream()</a></span> requesting STDIO subchannel. </span> </dd> </dt> <dt id="constant.ssh2-stream-stderr"> <span class="term"> <strong><code>SSH2_STREAM_STDERR</code></strong> (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>) </span> <dd> <span class="simpara"> Flag to <span class="function"><a href="function.ssh2-fetch-stream.html" class="function">ssh2_fetch_stream()</a></span> requesting STDERR subchannel. </span> </dd> </dt> <dt id="constant.ssh2-default-terminal"> <span class="term"> <strong><code>SSH2_DEFAULT_TERMINAL</code></strong> (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>) </span> <dd> <span class="simpara"> Default terminal type (e.g. vt102, ansi, xterm, vanilla) requested by <span class="function"><a href="function.ssh2-shell.html" class="function">ssh2_shell()</a></span>. </span> </dd> </dt> </dl> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ssh2.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.ssh2.html">SSH2 Functions</a></div> <div class="up"><a href="book.ssh2.html">SSH2</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>