mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
ev: fix XML to get remove of useless wrapping para tags v2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<chapter xml:id="ev.watcher-callbacks" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="ev.watcher-callbacks">
|
||||
<title>Watcher callbacks</title>
|
||||
<para>
|
||||
All watchers can be active(waiting for events) or inactive(paused). Only
|
||||
@@ -23,45 +23,41 @@
|
||||
<methodsynopsis>
|
||||
<type>void</type>
|
||||
<methodname>callback</methodname>
|
||||
<methodparam
|
||||
choice="opt">
|
||||
<methodparam choice="opt">
|
||||
<type>object</type>
|
||||
<parameter>watcher</parameter>
|
||||
<initializer>NULL</initializer>
|
||||
</methodparam>
|
||||
<methodparam
|
||||
choice="opt">
|
||||
<methodparam choice="opt">
|
||||
<type>int</type>
|
||||
<parameter>revents</parameter>
|
||||
<initializer>NULL</initializer>
|
||||
</methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>watcher</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The watcher instance(of a class extending
|
||||
<classname>EvWatcher</classname>
|
||||
).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>revents</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
<link linkend="ev.constants.watcher-revents">Watcher received events</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>watcher</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
The watcher instance(of a class extending
|
||||
<classname>EvWatcher</classname>
|
||||
).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<parameter>revents</parameter>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
<link linkend="ev.constants.watcher-revents">Watcher received events</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<para>
|
||||
Each watcher type has its associated bit in
|
||||
<parameter>revents</parameter>,
|
||||
|
||||
Reference in New Issue
Block a user