php-doc-en/reference/network/constants.xml

176 lines
4.2 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<section id="network.constants">
&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>
<entry>LOG_CONS</entry>
<entry>
if there is an error while sending data to the system logger,
write directly to the system console
</entry>
</row>
<row>
<entry>LOG_NDELAY</entry>
<entry>
open the connection to the logger immediately
</entry>
</row>
<row>
<entry>LOG_ODELAY</entry>
<entry>
(default) delay opening the connection until the first
message is logged
</entry>
</row>
<row>
<entry>LOG_PERROR</entry>
<entry>print log message also to standard error</entry>
</row>
<row>
<entry>LOG_PID</entry>
<entry>include PID with each message</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>
<entry>LOG_EMERG</entry>
<entry>system is unusable</entry>
</row>
<row>
<entry>LOG_ALERT</entry>
<entry>action must be taken immediately</entry>
</row>
<row>
<entry>LOG_CRIT</entry>
<entry>critical conditions</entry>
</row>
<row>
<entry>LOG_ERR</entry>
<entry>error conditions</entry>
</row>
<row>
<entry>LOG_WARNING</entry>
<entry>warning conditions</entry>
</row>
<row>
<entry>LOG_NOTICE</entry>
<entry>normal, but significant, condition</entry>
</row>
<row>
<entry>LOG_INFO</entry>
<entry>informational message</entry>
</row>
<row>
<entry>LOG_DEBUG</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>
<entry>DNS_A</entry>
<entry>IPv4 Address Resource</entry>
</row>
<row>
<entry>DNS_MX</entry>
<entry>Mail Exchanger Resource</entry>
</row>
<row>
<entry>DNS_CNAME</entry>
<entry>Alias (Canonical Name) Resource</entry>
</row>
<row>
<entry>DNS_NS</entry>
<entry>Authoritative Name Server Resource</entry>
</row>
<row>
<entry>DNS_PTR</entry>
<entry>Pointer Resource</entry>
</row>
<row>
<entry>DNS_HINFO</entry>
<entry>Host Info Resource (See
<ulink url="&url.rfc1010;">RFC 1010</ulink>
for the meaning of these values)</entry>
</row>
<row>
<entry>DNS_SOA</entry>
<entry>Start of Authority Resource</entry>
</row>
<row>
<entry>DNS_TXT</entry>
<entry>Text Resource</entry>
</row>
<row>
<entry>DNS_ANY</entry>
<entry>Any Resource Record. On most systems
this returns all resource records, however
it should not be counted upon for critical
uses. Try DNS_ALL instead.</entry>
</row>
<row>
<entry>DNS_AAAA</entry>
<entry>IPv6 Address Resource</entry>
</row>
<row>
<entry>DNS_ALL</entry>
<entry>Itteratively query the name server for
each available record type.</entry>
</row>
</tbody>
</tgroup>
</table>
</section>
<!-- 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:"../../../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
-->