mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-27 06:18:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344579 c90b9560-bf6c-de11-be94-00142212c4b1
251 lines
7.9 KiB
XML
251 lines
7.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<appendix xml:id="network.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.constants;
|
|
&extension.constants.core;
|
|
<table>
|
|
<title><function>openlog</function> Options</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Constant</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.log-cons">
|
|
<entry><constant>LOG_CONS</constant></entry>
|
|
<entry>
|
|
if there is an error while sending data to the system logger,
|
|
write directly to the system console
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.log-ndelay">
|
|
<entry><constant>LOG_NDELAY</constant></entry>
|
|
<entry>
|
|
open the connection to the logger immediately
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.log-odelay">
|
|
<entry><constant>LOG_ODELAY</constant></entry>
|
|
<entry>
|
|
(default) delay opening the connection until the first
|
|
message is logged
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.log-nowait">
|
|
<entry><constant>LOG_NOWAIT</constant></entry>
|
|
<entry>
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.log-perror">
|
|
<entry><constant>LOG_PERROR</constant></entry>
|
|
<entry>print log message also to standard error</entry>
|
|
</row>
|
|
<row xml:id="constant.log-pid">
|
|
<entry><constant>LOG_PID</constant></entry>
|
|
<entry>include PID with each message</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
<table>
|
|
<title><function>openlog</function> Facilities</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Constant</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.log-auth">
|
|
<entry><constant>LOG_AUTH</constant></entry>
|
|
<entry>
|
|
security/authorization messages (use <constant>LOG_AUTHPRIV</constant> instead
|
|
in systems where that constant is defined)
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.log-authpriv">
|
|
<entry><constant>LOG_AUTHPRIV</constant></entry>
|
|
<entry>security/authorization messages (private)</entry>
|
|
</row>
|
|
<row xml:id="constant.log-cron">
|
|
<entry><constant>LOG_CRON</constant></entry>
|
|
<entry>clock daemon (cron and at)</entry>
|
|
</row>
|
|
<row xml:id="constant.log-daemon">
|
|
<entry><constant>LOG_DAEMON</constant></entry>
|
|
<entry>other system daemons</entry>
|
|
</row>
|
|
<row xml:id="constant.log-kern">
|
|
<entry><constant>LOG_KERN</constant></entry>
|
|
<entry>kernel messages</entry>
|
|
</row>
|
|
<row xml:id="constant.log-local0">
|
|
<entry><constant>LOG_LOCAL0 ... LOG_LOCAL7</constant></entry>
|
|
<entry>reserved for local use, these are not available in Windows</entry>
|
|
</row>
|
|
<row xml:id="constant.log-lpr">
|
|
<entry><constant>LOG_LPR</constant></entry>
|
|
<entry>line printer subsystem</entry>
|
|
</row>
|
|
<row xml:id="constant.log-mail">
|
|
<entry><constant>LOG_MAIL</constant></entry>
|
|
<entry>mail subsystem</entry>
|
|
</row>
|
|
<row xml:id="constant.log-news">
|
|
<entry><constant>LOG_NEWS</constant></entry>
|
|
<entry>USENET news subsystem</entry>
|
|
</row>
|
|
<row xml:id="constant.log-syslog">
|
|
<entry><constant>LOG_SYSLOG</constant></entry>
|
|
<entry>messages generated internally by syslogd</entry>
|
|
</row>
|
|
<row xml:id="constant.log-user">
|
|
<entry><constant>LOG_USER</constant></entry>
|
|
<entry>generic user-level messages</entry>
|
|
</row>
|
|
<row xml:id="constant.log-uucp">
|
|
<entry><constant>LOG_UUCP</constant></entry>
|
|
<entry>UUCP subsystem</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
|
|
<table>
|
|
<title><function>syslog</function> Priorities (in descending order)</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Constant</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.log-emerg">
|
|
<entry><constant>LOG_EMERG</constant></entry>
|
|
<entry>system is unusable</entry>
|
|
</row>
|
|
<row xml:id="constant.log-alert">
|
|
<entry><constant>LOG_ALERT</constant></entry>
|
|
<entry>action must be taken immediately</entry>
|
|
</row>
|
|
<row xml:id="constant.log-crit">
|
|
<entry><constant>LOG_CRIT</constant></entry>
|
|
<entry>critical conditions</entry>
|
|
</row>
|
|
<row xml:id="constant.log-err">
|
|
<entry><constant>LOG_ERR</constant></entry>
|
|
<entry>error conditions</entry>
|
|
</row>
|
|
<row xml:id="constant.log-warning">
|
|
<entry><constant>LOG_WARNING</constant></entry>
|
|
<entry>warning conditions</entry>
|
|
</row>
|
|
<row xml:id="constant.log-notice">
|
|
<entry><constant>LOG_NOTICE</constant></entry>
|
|
<entry>normal, but significant, condition</entry>
|
|
</row>
|
|
<row xml:id="constant.log-info">
|
|
<entry><constant>LOG_INFO</constant></entry>
|
|
<entry>informational message</entry>
|
|
</row>
|
|
<row xml:id="constant.log-debug">
|
|
<entry><constant>LOG_DEBUG</constant></entry>
|
|
<entry>debug-level message</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
<table>
|
|
<title><function>dns_get_record</function> Options</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Constant</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.dns-a">
|
|
<entry><constant>DNS_A</constant></entry>
|
|
<entry>IPv4 Address Resource</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-caa">
|
|
<entry><constant>DNS_CAA</constant></entry>
|
|
<entry>Certification Authority Authorization Resource (available as of PHP 7.0.16 and 7.1.2)</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-mx">
|
|
<entry><constant>DNS_MX</constant></entry>
|
|
<entry>Mail Exchanger Resource</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-cname">
|
|
<entry><constant>DNS_CNAME</constant></entry>
|
|
<entry>Alias (Canonical Name) Resource</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-ns">
|
|
<entry><constant>DNS_NS</constant></entry>
|
|
<entry>Authoritative Name Server Resource</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-ptr">
|
|
<entry><constant>DNS_PTR</constant></entry>
|
|
<entry>Pointer Resource</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-hinfo">
|
|
<entry><constant>DNS_HINFO</constant></entry>
|
|
<entry>Host Info Resource (See IANA's
|
|
<link xlink:href="&url.iana.system-names;"><literal>Operating System Names</literal></link>
|
|
for the meaning of these values)</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-soa">
|
|
<entry><constant>DNS_SOA</constant></entry>
|
|
<entry>Start of Authority Resource</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-txt">
|
|
<entry><constant>DNS_TXT</constant></entry>
|
|
<entry>Text Resource</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-any">
|
|
<entry><constant>DNS_ANY</constant></entry>
|
|
<entry>Any Resource Record. On most systems
|
|
this returns all resource records, however
|
|
it should not be counted upon for critical
|
|
uses. Try <constant>DNS_ALL</constant> instead.</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-aaaa">
|
|
<entry><constant>DNS_AAAA</constant></entry>
|
|
<entry>IPv6 Address Resource</entry>
|
|
</row>
|
|
<row xml:id="constant.dns-all">
|
|
<entry><constant>DNS_ALL</constant></entry>
|
|
<entry>Iteratively query the name server for
|
|
each available record type.</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</appendix>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|