cvs: phpdoc-fr /reference/network/functions gethostbyaddr.xml gethostbyname.xml gethostbynamel.xml /reference/snmp/functions snmp-get-quick-print.xml
snmp-get-valueretrieval.xml snmp-read-mib.xml snmp-set-enum-print.xml snmp-set-oid-numeric-print.xml snmp-set-quick-print.xml
snmp-set-valueretrieval.xml snmpget.xml snmpgetnext.xml snmprealwalk.xml snmpset.xml snmpwalk.xml snmpwalkoid.xml

From: Date: Sun, 07 Jan 2007 12:15:20 +0000
Subject: cvs: phpdoc-fr /reference/network/functions gethostbyaddr.xml gethostbyname.xml gethostbynamel.xml /reference/snmp/functions snmp-get-quick-print.xml
snmp-get-valueretrieval.xml snmp-read-mib.xml snmp-set-enum-print.xml snmp-set-oid-numeric-print.xml snmp-set-quick-print.xml
snmp-set-valueretrieval.xml snmpget.xml snmpgetnext.xml snmprealwalk.xml snmpset.xml snmpwalk.xml snmpwalkoid.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5142@lists.php.net to get a copy of this message
yannick Sun Jan 7 12:15:20 2007 UTC Modified files: /phpdoc-fr/reference/network/functions gethostbyaddr.xml gethostbynamel.xml gethostbyname.xml /phpdoc-fr/reference/snmp/functions snmpgetnext.xml snmp-get-quick-print.xml snmp-get-valueretrieval.xml snmpget.xml snmp-read-mib.xml snmprealwalk.xml snmp-set-enum-print.xml snmp-set-oid-numeric-print.xml snmp-set-quick-print.xml snmp-set-valueretrieval.xml snmpset.xml snmpwalkoid.xml snmpwalk.xml Log: sync with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/network/functions/gethostbyaddr.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/network/functions/gethostbyaddr.xml diff -u phpdoc-fr/reference/network/functions/gethostbyaddr.xml:1.9 phpdoc-fr/reference/network/functions/gethostbyaddr.xml:1.10 --- phpdoc-fr/reference/network/functions/gethostbyaddr.xml:1.9 Tue Nov 30 23:51:41 2004 +++ phpdoc-fr/reference/network/functions/gethostbyaddr.xml Sun Jan 7 12:15:19 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.gethostbyaddr"> <refnamediv> <refname>gethostbyaddr</refname> @@ -9,7 +10,7 @@ Retourne le nom d'hôte correspondant à une IP </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>gethostbyaddr</methodname> @@ -27,18 +28,23 @@ <![CDATA[ <?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); - + echo $hostname; ?> ]]> </programlisting> </example> </para> - <para> - Voir aussi - <function>gethostbyname</function> et - <function>gethostbynamel</function>. - </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>gethostbyname</function></member> + <member><function>gethostbynamel</function></member> + </simplelist> + </para> </refsect1> </refentry> @@ -61,4 +67,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/network/functions/gethostbynamel.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/network/functions/gethostbynamel.xml diff -u phpdoc-fr/reference/network/functions/gethostbynamel.xml:1.12 phpdoc-fr/reference/network/functions/gethostbynamel.xml:1.13 --- phpdoc-fr/reference/network/functions/gethostbynamel.xml:1.12 Tue Nov 30 23:51:41 2004 +++ phpdoc-fr/reference/network/functions/gethostbynamel.xml Sun Jan 7 12:15:19 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.gethostbynamel"> <refnamediv> <refname>gethostbynamel</refname> @@ -9,7 +10,7 @@ Retourne la liste d'IP correspondante à un hôte </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>gethostbynamel</methodname> @@ -49,13 +50,18 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Voir aussi - <function>gethostbyname</function>, - <function>gethostbyaddr</function>, - <function>checkdnsrr</function>, - <function>getmxrr</function> et - la page 8 du manuel. + <simplelist> + <member><function>gethostbyname</function></member> + <member><function>gethostbyaddr</function></member> + <member><function>checkdnsrr</function></member> + <member><function>getmxrr</function></member> + <member>the <literal>named(8)</literal> manual page</member> + </simplelist> </para> </refsect1> </refentry> @@ -79,4 +85,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/network/functions/gethostbyname.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/network/functions/gethostbyname.xml diff -u phpdoc-fr/reference/network/functions/gethostbyname.xml:1.11 phpdoc-fr/reference/network/functions/gethostbyname.xml:1.12 --- phpdoc-fr/reference/network/functions/gethostbyname.xml:1.11 Sat Nov 18 14:23:26 2006 +++ phpdoc-fr/reference/network/functions/gethostbyname.xml Sun Jan 7 12:15:19 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.gethostbyname"> <refnamediv> <refname>gethostbyname</refname> @@ -9,7 +10,7 @@ Retourne l'adresse IP correspondant à un hôte </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>gethostbyname</methodname> @@ -34,11 +35,16 @@ </programlisting> </example> </para> - <para> - Voir aussi - <function>gethostbyaddr</function> et - <function>gethostbynamel</function>. - </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>gethostbyaddr</function></member> + <member><function>gethostbynamel</function></member> + </simplelist> + </para> </refsect1> </refentry> @@ -61,4 +67,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmpgetnext.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmpgetnext.xml diff -u phpdoc-fr/reference/snmp/functions/snmpgetnext.xml:1.3 phpdoc-fr/reference/snmp/functions/snmpgetnext.xml:1.4 --- phpdoc-fr/reference/snmp/functions/snmpgetnext.xml:1.3 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmpgetnext.xml Sun Jan 7 12:15:19 2007 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.snmpgetnext"> <refnamediv> <refname>snmpgetnext</refname> @@ -9,7 +10,7 @@ Retourne un objet SNMP </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>snmpgetnext</methodname> @@ -44,4 +45,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmp-get-quick-print.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmp-get-quick-print.xml diff -u phpdoc-fr/reference/snmp/functions/snmp-get-quick-print.xml:1.12 phpdoc-fr/reference/snmp/functions/snmp-get-quick-print.xml:1.13 --- phpdoc-fr/reference/snmp/functions/snmp-get-quick-print.xml:1.12 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmp-get-quick-print.xml Sun Jan 7 12:15:19 2007 @@ -1,48 +1,62 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.snmp-get-quick-print"> - <refnamediv> - <refname>snmp_get_quick_print</refname> - <refpurpose>Lit la valeur courante de l'option quick_print de la bibliothèque UCD</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>snmp_get_quick_print</methodname> - <void/> - </methodsynopsis> - <para> - <function>snmp_get_quick_print</function> retourne la valeur courante, + +<refentry id="function.snmp-get-quick-print"> + <refnamediv> + <refname>snmp_get_quick_print</refname> + <refpurpose> + Lit la valeur courante de l'option quick_print de la bibliothèque UCD + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>snmp_get_quick_print</methodname> + <void/> + </methodsynopsis> + <para> + <function>snmp_get_quick_print</function> retourne la valeur courante, stockée dans la bibliothèque UCD, de l'option quick_print. Par défaut, quick_print est désactivée. - <example> - <title>Exemple avec <function>snmp_get_quick_print</function></title> - <programlisting role="php"> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si quick_print est actif, &false; sinon. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>snmp_get_quick_print</function></title> + <programlisting role="php"> <![CDATA[ <?php $quickprint = snmp_get_quick_print(); ?> ]]> - </programlisting> - </example> - </para> - <para> - L'exemple ci-dessus devrait retourner &false;, si - quick_print est désactivée et &true; si quick_print est activée. - </para> - <para> - <function>snmp_get_quick_print</function> est seulement disponible avec la - bibliothèque UCD <acronym>SNMP</acronym>. Cette fonction n'est pas disponible - avec la bibliothèque Windows <acronym>SNMP</acronym>. - </para> - <para> - Voir aussi <function>snmp_set_quick_print</function> pour une description - complète de l'affichage de quick_print. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmp_set_quick_print</function> pour une description complète + sur ce que fait quick_print.</member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -63,4 +77,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmp-get-valueretrieval.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmp-get-valueretrieval.xml diff -u phpdoc-fr/reference/snmp/functions/snmp-get-valueretrieval.xml:1.3 phpdoc-fr/reference/snmp/functions/snmp-get-valueretrieval.xml:1.4 --- phpdoc-fr/reference/snmp/functions/snmp-get-valueretrieval.xml:1.3 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmp-get-valueretrieval.xml Sun Jan 7 12:15:19 2007 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.snmp-get-valueretrieval"> <refnamediv> <refname>snmp_get_valueretrieval</refname> @@ -9,7 +10,7 @@ Retourne la méthode avec laquelle les valeurs SNMP seront retournées </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>snmp_get_valueretrieval</methodname> @@ -19,6 +20,16 @@ &warn.undocumented.func; </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmp_set_valueretrieval</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -40,4 +51,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmpget.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmpget.xml diff -u phpdoc-fr/reference/snmp/functions/snmpget.xml:1.9 phpdoc-fr/reference/snmp/functions/snmpget.xml:1.10 --- phpdoc-fr/reference/snmp/functions/snmpget.xml:1.9 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmpget.xml Sun Jan 7 12:15:19 2007 @@ -1,47 +1,109 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.snmpget"> - <refnamediv> - <refname>snmpget</refname> - <refpurpose>Reçoit un objet <acronym>SNMP</acronym></refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>snmpget</methodname> - <methodparam><type>string</type><parameter>hostname</parameter></methodparam> - <methodparam><type>string</type><parameter>community</parameter></methodparam> - <methodparam><type>string</type><parameter>object_id</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> - </methodsynopsis> - <para> - <function>snmpget</function> retourne un objet <acronym>SNMP</acronym> en cas de - succès, et &false; en cas d'erreur. - </para> - <para> - <function>snmpget</function> sert à lire une valeur d'un objet - <acronym>SNMP</acronym> représenté par <parameter>object_id</parameter>. - L'agent <acronym>SNMP</acronym> est défini par - <parameter>hostname</parameter> et la communauté de lecture - est spécifiée par le paramètre <parameter>community</parameter>. - </para> - <para> - <example> - <title>Exemple avec <function>snmpget</function></title> - <programlisting role="php"> + +<refentry id="function.snmpget"> + <refnamediv> + <refname>snmpget</refname> + <refpurpose>Reçoit un objet <acronym>SNMP</acronym></refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>snmpget</methodname> + <methodparam><type>string</type><parameter>hostname</parameter></methodparam> + <methodparam><type>string</type><parameter>community</parameter></methodparam> + <methodparam><type>string</type><parameter>object_id</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> + </methodsynopsis> + + <para> + <function>snmpget</function> sert à lire une valeur d'un objet + <acronym>SNMP</acronym> représenté par <parameter>object_id</parameter>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>hostname</parameter></term> + <listitem> + <para> + L'agent SNMP. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>community</parameter></term> + <listitem> + <para> + La communauté de lecture. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>object_id</parameter></term> + <listitem> + <para> + L'objet SNMP. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>timeout</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>retries</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne la valeur de l'objet SNMP en cas de succès, &false; si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>snmpget</function></title> + <programlisting role="php"> <![CDATA[ <?php $syscontact = snmpget("127.0.0.1", "public", "system.SysContact.0"); ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmpset</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -62,4 +124,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmp-read-mib.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmp-read-mib.xml diff -u phpdoc-fr/reference/snmp/functions/snmp-read-mib.xml:1.5 phpdoc-fr/reference/snmp/functions/snmp-read-mib.xml:1.6 --- phpdoc-fr/reference/snmp/functions/snmp-read-mib.xml:1.5 Sat Jun 25 05:49:47 2005 +++ phpdoc-fr/reference/snmp/functions/snmp-read-mib.xml Sun Jan 7 12:15:19 2007 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.snmp-read-mib"> <refnamediv> <refname>snmp_read_mib</refname> @@ -9,7 +10,7 @@ Lit et analyse un fichier MIB dans l'arbre actif MIB </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>snmp_read_mib</methodname> @@ -40,4 +41,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmprealwalk.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmprealwalk.xml diff -u phpdoc-fr/reference/snmp/functions/snmprealwalk.xml:1.5 phpdoc-fr/reference/snmp/functions/snmprealwalk.xml:1.6 --- phpdoc-fr/reference/snmp/functions/snmprealwalk.xml:1.5 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmprealwalk.xml Sun Jan 7 12:15:19 2007 @@ -1,29 +1,28 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.snmprealwalk"> - <refnamediv> - <refname>snmprealwalk</refname> - <refpurpose> - Retourne tous les objets, y compris leur ID d'objet - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>snmprealwalk</methodname> - <methodparam><type>string</type><parameter>host</parameter></methodparam> - <methodparam><type>string</type><parameter>community</parameter></methodparam> - <methodparam><type>string</type><parameter>object_id</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> + +<refentry id='function.snmprealwalk'> + <refnamediv> + <refname>snmprealwalk</refname> + <refpurpose>Retourne tous les objets, y compris leur ID d'objet</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>snmprealwalk</methodname> + <methodparam><type>string</type><parameter>host</parameter></methodparam> + <methodparam><type>string</type><parameter>community</parameter></methodparam> + <methodparam><type>string</type><parameter>object_id</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> + </methodsynopsis> + + &warn.undocumented.func; + + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -44,4 +43,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmp-set-enum-print.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmp-set-enum-print.xml diff -u phpdoc-fr/reference/snmp/functions/snmp-set-enum-print.xml:1.3 phpdoc-fr/reference/snmp/functions/snmp-set-enum-print.xml:1.4 --- phpdoc-fr/reference/snmp/functions/snmp-set-enum-print.xml:1.3 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmp-set-enum-print.xml Sun Jan 7 12:15:19 2007 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.snmp-set-enum-print"> <refnamediv> <refname>snmp_set_enum_print</refname> @@ -9,7 +10,7 @@ Retourne toutes les valeurs qui sont des énumérations avec leur valeur d'énumération au lieu de l'entier </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>snmp_set_enum_print</methodname> @@ -19,6 +20,18 @@ &warn.undocumented.func; </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + <function>snmp_set_enum_print</function> est uniquement disponible lors de + l'utilisation de la bibliothèque UCD SNMP. Cette fonction n'est pas disponible lors + de l'utilisation de la bibliothèque SNMP de Windows. + </para> + </note> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -40,4 +53,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmp-set-oid-numeric-print.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmp-set-oid-numeric-print.xml diff -u phpdoc-fr/reference/snmp/functions/snmp-set-oid-numeric-print.xml:1.3 phpdoc-fr/reference/snmp/functions/snmp-set-oid-numeric-print.xml:1.4 --- phpdoc-fr/reference/snmp/functions/snmp-set-oid-numeric-print.xml:1.3 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmp-set-oid-numeric-print.xml Sun Jan 7 12:15:19 2007 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: didou Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.snmp-set-oid-numeric-print"> <refnamediv> <refname>snmp_set_oid_numeric_print</refname> @@ -9,7 +10,7 @@ Retourne tous les objets y compris leur identifiant d'objet dans celui spécifié </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>snmp_set_oid_numeric_print</methodname> @@ -19,6 +20,40 @@ &warn.undocumented.func; </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.2.0</entry> + <entry> + Depuis &php; 5.2.0, &info.function.alias; <function>snmp_set_oid_output_format</function>. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmp_set_oid_output_format</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -40,4 +75,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmp-set-quick-print.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmp-set-quick-print.xml diff -u phpdoc-fr/reference/snmp/functions/snmp-set-quick-print.xml:1.10 phpdoc-fr/reference/snmp/functions/snmp-set-quick-print.xml:1.11 --- phpdoc-fr/reference/snmp/functions/snmp-set-quick-print.xml:1.10 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmp-set-quick-print.xml Sun Jan 7 12:15:20 2007 @@ -1,72 +1,106 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.snmp-set-quick-print"> - <refnamediv> - <refname>snmp_set_quick_print</refname> - <refpurpose> - Ecrit la valeur courante de l'option quick_print de la bibliothèque UCD - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>snmp_set_quick_print</methodname> - <methodparam><type>bool</type><parameter>quick_print</parameter></methodparam> - </methodsynopsis> - <para> - <function>snmp_set_quick_print</function> fixe la valeur de l'option - quick_print de la bibliothèque UCD <acronym>SNMP</acronym>. Lorsqu'elle - a la valeur de (1), la bibliothèque <acronym>SNMP</acronym> retournera - des valeurs 'rapides'. Cela signifie que seule, la valeur sera - retournée. Lorsqu'elle a la valeur de (0), la bibliothèque va afficher - d'autres informations (telles que l'adresse IP (IpAddress) ou OID). - De plus, si quick_print n'est pas activée, la bibliothèque affichera - aussi des valeurs hexadécimales supplémentaires pour toutes les - chaînes de trois caractères ou moins. - </para> - <para> - Modifier <parameter>quick_print</parameter> est plus fréquent - lorsqu'on utilise les valeurs retournées que lorsqu'on les affiche. - <example> - <title>Exemple avec <function>snmp_set_quick_print</function></title> - <programlisting role="php"> + +<refentry id="function.snmp-set-quick-print"> + <refnamediv> + <refname>snmp_set_quick_print</refname> + <refpurpose>Ecrit la valeur courante de l'option quick_print de la bibliothèque UCD</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>snmp_set_quick_print</methodname> + <methodparam><type>bool</type><parameter>quick_print</parameter></methodparam> + </methodsynopsis> + + <para> + <function>snmp_set_quick_print</function> fixe la valeur de l'option + quick_print de la bibliothèque UCD <acronym>SNMP</acronym>. Lorsqu'elle + a la valeur de (1), la bibliothèque <acronym>SNMP</acronym> retournera + des valeurs 'rapides'. Cela signifie que seule, la valeur sera + retournée. Lorsqu'elle a la valeur de (0), la bibliothèque va afficher + d'autres informations (telles que l'adresse IP (IpAddress) ou OID). + De plus, si quick_print n'est pas activée, la bibliothèque affichera + aussi des valeurs hexadécimales supplémentaires pour toutes les + chaînes de trois caractères ou moins. + </para> + <para> + Par défaut, UCD <acronym>SNMP</acronym> retourne des valeurs + détaillées, et quick_print sert à ne retourner que la valeur. + </para> + <para> + Actuellement, les chaînes sont toujours retournées + avec des guillemets supplémentaires. Ceci sera corrigé + ultérieurement. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>quick_print</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + Modifier <parameter>quick_print</parameter> est plus fréquent + lorsqu'on utilise les valeurs retournées que lorsqu'on les affiche. + </para> + <para> + <example> + <title>Exemple avec <function>snmp_set_quick_print</function></title> + <programlisting role="php"> <![CDATA[ <?php snmp_set_quick_print(0); $a = snmpget("127.0.0.1", "public", ".1.3.6.1.2.1.2.2.1.9.1"); -echo "$a<br />\n"; +echo "$a\n"; snmp_set_quick_print(1); $a = snmpget("127.0.0.1", "public", ".1.3.6.1.2.1.2.2.1.9.1"); -echo "$a<br />\n"; +echo "$a\n"; ?> ]]> - </programlisting> - </example> - </para> - <para> - La première valeur affichée sera : - 'Timeticks: (0) 0:00:00.00', tandis qu'avec quick_print - activée, seul '0:00:00.00' sera affiché. - </para> - <para> - Par défaut, UCD <acronym>SNMP</acronym> retourne des valeurs - détaillées, et quick_print sert à ne retourner que la valeur. - </para> - <para> - Actuellement, les chaînes sont toujours retournées - avec des guillemets supplémentaires. Ceci sera corrigé - ultérieurement. - </para> - <para> - <function>snmp_set_quick_print</function> ne fonctionne - qu'avec la bibliothèque UCD <acronym>SNMP</acronym>. - <function>snmp_set_quick_print</function> n'est pas - disponible avec la bibliothèque Windows <acronym>SNMP</acronym>. - </para> - </refsect1> - </refentry> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +'Timeticks: (0) 0:00:00.00' +'0:00:00.00' +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmp_get_quick_print</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -87,4 +121,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmp-set-valueretrieval.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmp-set-valueretrieval.xml diff -u phpdoc-fr/reference/snmp/functions/snmp-set-valueretrieval.xml:1.4 phpdoc-fr/reference/snmp/functions/snmp-set-valueretrieval.xml:1.5 --- phpdoc-fr/reference/snmp/functions/snmp-set-valueretrieval.xml:1.4 Sat Jun 25 05:49:47 2005 +++ phpdoc-fr/reference/snmp/functions/snmp-set-valueretrieval.xml Sun Jan 7 12:15:20 2007 @@ -1,7 +1,8 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.2 Maintainer: didou Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> + <refentry id="function.snmp-set-valueretrieval"> <refnamediv> <refname>snmp_set_valueretrieval</refname> @@ -9,7 +10,7 @@ Spécifie la méthode avec laquelle les valeurs SNMP seront retournées </refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>snmp_set_valueretrieval</methodname> @@ -19,6 +20,16 @@ &warn.undocumented.func; </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmp_get_valueretrieval</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -40,4 +51,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmpset.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmpset.xml diff -u phpdoc-fr/reference/snmp/functions/snmpset.xml:1.9 phpdoc-fr/reference/snmp/functions/snmpset.xml:1.10 --- phpdoc-fr/reference/snmp/functions/snmpset.xml:1.9 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmpset.xml Sun Jan 7 12:15:20 2007 @@ -1,37 +1,110 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.2 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.snmpset"> - <refnamediv> - <refname>snmpset</refname> - <refpurpose>Configure un objet SNMP</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>snmpset</methodname> - <methodparam><type>string</type><parameter>hostname</parameter></methodparam> - <methodparam><type>string</type><parameter>community</parameter></methodparam> - <methodparam><type>string</type><parameter>object_id</parameter></methodparam> - <methodparam><type>string</type><parameter>type</parameter></methodparam> - <methodparam><type>mixed</type><parameter>value</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> - </methodsynopsis> - <para> - <function>snmpset</function> modifie la valeur de l'objet <acronym>SNMP</acronym> - spécifié, en retournant &true; en cas de succès et &false; en cas d'erreur. - </para> - <para> - <function>snmpset</function> sert à affecter une valeur - donnée à un objet <acronym>SNMP</acronym>, référencé - par <parameter>object_id</parameter>. L'agent <acronym>SNMP</acronym> est défini - par <parameter>hostname</parameter> et la communauté de lecture - est spécifiée par le paramètre <parameter>community</parameter>. - </para> - </refsect1> - </refentry> + +<refentry id="function.snmpset"> + <refnamediv> + <refname>snmpset</refname> + <refpurpose>Configure un objet SNMP</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>snmpset</methodname> + <methodparam><type>string</type><parameter>hostname</parameter></methodparam> + <methodparam><type>string</type><parameter>community</parameter></methodparam> + <methodparam><type>string</type><parameter>object_id</parameter></methodparam> + <methodparam><type>string</type><parameter>type</parameter></methodparam> + <methodparam><type>mixed</type><parameter>value</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> + </methodsynopsis> + + <para> + <function>snmpset</function> sert à définir la valeur de l'objet <acronym>SNMP</acronym> + spécifié par <parameter>object_id</parameter>. + </para> + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>hostname</parameter></term> + <listitem> + <para> + L'agent SNMP. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>community</parameter></term> + <listitem> + <para> + La communauté de lecture. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>object_id</parameter></term> + <listitem> + <para> + L'objet SNMP. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>type</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>value</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>timeout</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>retries</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmpget</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -52,4 +125,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmpwalkoid.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmpwalkoid.xml diff -u phpdoc-fr/reference/snmp/functions/snmpwalkoid.xml:1.11 phpdoc-fr/reference/snmp/functions/snmpwalkoid.xml:1.12 --- phpdoc-fr/reference/snmp/functions/snmpwalkoid.xml:1.11 Sun Jun 12 10:56:32 2005 +++ phpdoc-fr/reference/snmp/functions/snmpwalkoid.xml Sun Jan 7 12:15:20 2007 @@ -1,78 +1,132 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.snmpwalkoid"> - <refnamediv> - <refname>snmpwalkoid</refname> - <refpurpose> - Demande d'informations d'arbre sur une entité du réseau - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>snmpwalkoid</methodname> - <methodparam><type>string</type><parameter>hostname</parameter></methodparam> - <methodparam><type>string</type><parameter>community</parameter></methodparam> - <methodparam><type>string</type><parameter>object_id</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> - </methodsynopsis> - <para> - <function>snmpwalkoid</function> retourne un tableau associatif, - avec les identifiants d'objet et les objets associés, pour - tous les objets situés sous la racine - <parameter>object_id</parameter>, ou &false; en cas d'erreur. - </para> - <para> - <function>snmpwalkoid</function> sert à lire tous les - identifiants d'objet, et leur valeurs respectives, depuis un - serveur <acronym>SNMP</acronym>. <parameter>community</parameter> indique la - communauté de lecture pour cet agent. Un - <parameter>object_id</parameter> &null; signifie qu'il faut utiliser - la racine de l'arbre <acronym>SNMP</acronym> et tous les objets sous cet arbre - seront retournés. Si <parameter>object_id</parameter> - est spécifié, tous les objets <acronym>SNMP</acronym> situés sous - cet objet seront retournés. - </para> - <para> - La fonction ci-dessous va lire tous les objets de l'agent <acronym>SNMP</acronym> - qui fonctionne sur l'hôte local. Il est alors possible de - les passer en revue avec une boucle : l'existence de - <function>snmpwalkoid</function> et <function>snmpwalk</function> - est une question d'évolution. Ces deux fonctions sont - fournies pour des raisons de compatibilité ascendante. - <example> - <title>Lire tous les objets avec <function>snmpwalkoid</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -$a = snmpwalkoid("127.0.0.1", "public", ""); -?> -]]> - </programlisting> - </example> - </para> - <para> - La fonction ci-dessous va lire tous les objets de l'agent <acronym>SNMP</acronym> - qui fonctionne sur l'hôte local. Il est alors possible de - les passer en revue avec une boucle : - <example> - <title>Lire tous les objet avec <function>snmpwalkoid</function> (2)</title> - <programlisting role="php"> + +<refentry id="function.snmpwalkoid"> + <refnamediv> + <refname>snmpwalkoid</refname> + <refpurpose>Demande d'informations d'arbre sur une entité du réseau</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>snmpwalkoid</methodname> + <methodparam><type>string</type><parameter>hostname</parameter></methodparam> + <methodparam><type>string</type><parameter>community</parameter></methodparam> + <methodparam><type>string</type><parameter>object_id</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> + </methodsynopsis> + + <para> + <function>snmpwalkoid</function> est utilisé pour lire tous les + identifiant d'objets ainsi que leurs valeurs respectives depuis l'agent SNMP + spécifié par <parameter>hostname</parameter>. + </para> + + <para> + L'existence de <function>snmpwalkoid</function> et + <function>snmpwalk</function> a des raisons historiques. + Les deux fonctions fournissent des compatibilités ascendantes. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>hostname</parameter></term> + <listitem> + <para> + L'agent SNMP. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>community</parameter></term> + <listitem> + <para> + La communauté de lecture. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>object_id</parameter></term> + <listitem> + <para> + Si &null;, <parameter>object_id</parameter> est pris comme racine des + objets SNMP et tous les objets de cet arbre sont retournés sous la + forme d'un tableau. + </para> + <para> + Si <parameter>object_id</parameter> est spécifié, tous les objets SNMP + suivant cet <parameter>object_id</parameter> sont retournés. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>timeout</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>retries</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un tableau associatif contenant les identifiants des objets ainsi + que leurs valeurs respectives, à partir de + <parameter>object_id</parameter>, ou &false; si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>snmpwalkoid</function></title> + <programlisting role="php"> <![CDATA[ <?php +$a = snmpwalkoid("127.0.0.1", "public", ""); for (reset($a); $i = key($a); next($a)) { - echo "$i: $a[$i]<br />\n"; + echo "$i: $a[$i]<br />\n"; } ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + L'appel à la fonction ci-dessus retournera tous les objets SNMP + depuis l'agent SNMP exécuté sur l'hôte local. On parcourt les valeurs + via une boucle. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmpwalk</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -93,4 +147,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/snmp/functions/snmpwalk.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/snmp/functions/snmpwalk.xml diff -u phpdoc-fr/reference/snmp/functions/snmpwalk.xml:1.11 phpdoc-fr/reference/snmp/functions/snmpwalk.xml:1.12 --- phpdoc-fr/reference/snmp/functions/snmpwalk.xml:1.11 Sun Jul 3 13:07:47 2005 +++ phpdoc-fr/reference/snmp/functions/snmpwalk.xml Sun Jan 7 12:15:20 2007 @@ -1,66 +1,126 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.snmpwalk"> - <refnamediv> - <refname>snmpwalk</refname> - <refpurpose>Reçoit tous les objets <acronym>SNMP</acronym> d'un agent</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>array</type><methodname>snmpwalk</methodname> - <methodparam><type>string</type><parameter>hostname</parameter></methodparam> - <methodparam><type>string</type><parameter>community</parameter></methodparam> - <methodparam><type>string</type><parameter>object_id</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> - </methodsynopsis> - <para> - <function>snmpwalk</function> retourne un tableau d'objets <acronym>SNMP</acronym>, - en commencant à partir de <parameter>object_id</parameter> - comme racine, ou &false; en cas d'erreur. - </para> - <para> - <function>snmpwalk</function> sert à lire toutes les valeurs d'un - agent <acronym>SNMP</acronym>, défini par <parameter>hostname</parameter>. - <parameter>community</parameter> définit la communauté - de lecture de l'agent. Un objet (<parameter>object_id</parameter> = &null;) - sert de racine à l'arbre d'objet <acronym>SNMP</acronym> et - tous les objets sous cette racine sont retournés dans un tableau. Si - <parameter>object_id</parameter> est spécifié, tous - les objets <acronym>SNMP</acronym> sous cet objet sont retournés. - <example> - <title>Lire tous les objets avec <function>snmpwalk</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -$a = snmpwalk("127.0.0.1", "public", ""); -?> -]]> - </programlisting> - </example> - </para> - <para> - La fonction ci-dessus va retourner tous les objets <acronym>SNMP</acronym> d'un agent - <acronym>SNMP</acronym> qui fonctionnerait sur l'hôte local (localhost). Il suffit - alors de faire une boucle pour travailler avec chacun des objets. - <example> - <title>Afficher tous les objet avec <function>snmpwalk</function></title> - <programlisting role="php"> + +<refentry id="function.snmpwalk"> + <refnamediv> + <refname>snmpwalk</refname> + <refpurpose>Reçoit tous les objets <acronym>SNMP</acronym> d'un agent</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>array</type><methodname>snmpwalk</methodname> + <methodparam><type>string</type><parameter>hostname</parameter></methodparam> + <methodparam><type>string</type><parameter>community</parameter></methodparam> + <methodparam><type>string</type><parameter>object_id</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timeout</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>retries</parameter></methodparam> + </methodsynopsis> + + <para> + <function>snmpwalk</function> est utilisé pour lire toutes les valeurs d'un + agent SNMP spécifié par <parameter>hostname</parameter>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>hostname</parameter></term> + <listitem> + <para> + L'agent SNMP. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>community</parameter></term> + <listitem> + <para> + La communauté de lecture. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>object_id</parameter></term> + <listitem> + <para> + Si &null;, <parameter>object_id</parameter> est pris comme racine des + objets SNMP et tous les objets de cet arbre sont retournés sous la + forme d'un tableau. + </para> + <para> + Si <parameter>object_id</parameter> est spécifié, tous les objets SNMP + suivant cet <parameter>object_id</parameter> sont retournés. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>timeout</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>retries</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un tableau de valeurs de l'objet SNMP, en commençant par + <parameter>object_id</parameter> ou &false; si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>snmpwalk</function></title> + <programlisting role="php"> <![CDATA[ <?php +$a = snmpwalk("127.0.0.1", "public", ""); + foreach ($a as $val) { echo "$val\n"; } + ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <para> + L'appel à la fonction ci-dessus retournera tous les objets SNMP + depuis l'agent SNMP exécuté sur l'hôte local. On parcourt les valeurs + via une boucle. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>snmpwalkoid</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -81,4 +141,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file
« previous php.doc.fr (#5142) next »