cvs: peardoc /en/package/networking/net-nntp connect.xml connectauthenticated.xml constants.xml

From: Date: Sat, 11 Oct 2003 11:05:24 +0000
Subject: cvs: peardoc /en/package/networking/net-nntp connect.xml connectauthenticated.xml constants.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-1615@lists.php.net to get a copy of this message
heino Sat Oct 11 07:05:24 2003 EDT Modified files: /peardoc/en/package/networking/net-nntp connect.xml connectauthenticated.xml constants.xml Log: no message Index: peardoc/en/package/networking/net-nntp/connect.xml diff -u peardoc/en/package/networking/net-nntp/connect.xml:1.4 peardoc/en/package/networking/net-nntp/connect.xml:1.5 --- peardoc/en/package/networking/net-nntp/connect.xml:1.4 Tue Aug 26 04:58:02 2003 +++ peardoc/en/package/networking/net-nntp/connect.xml Sat Oct 11 07:05:24 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="package.networking.net-nntp.connect"> <refnamediv> <refname>Net_NNTP::connect()</refname> @@ -11,20 +11,9 @@ </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Net_NNTP::connect</function></funcdef> - <paramdef>string <parameter>$nntpserver</parameter></paramdef> + <paramdef>string <parameter>$host = NET_NNTP_PROTOCOL_DEFAULT_HOST</parameter></paramdef> <paramdef> - integer <parameter><optional>$port = 119</optional></parameter> - </paramdef> - <paramdef> - integer <parameter><optional>$user = &null;</optional></parameter> - </paramdef> - <paramdef> - integer <parameter><optional>$pass = &null;</optional></parameter> - </paramdef> - <paramdef> - integer <parameter> - <optional>$authmode = PEAR_NNTP_AUTHORIGINAL</optional> - </parameter> + integer <parameter><optional>$port = NET_NNTP_PROTOCOL_DEFAULT_PORT</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> @@ -41,7 +30,7 @@ <itemizedlist> <listitem> <para> - <parameter>$nntpserver</parameter> - Name of the newsserver to connect + <parameter>$host</parameter> - Hostname of the newsserver </para> </listitem> <listitem> @@ -49,25 +38,6 @@ <parameter>$port</parameter> - Port, where the newsserver listens </para> </listitem> - <listitem> - <para> - <parameter>$user</parameter> - (Deprecated since 0.3) - Username to authenticate - </para> - </listitem> - <listitem> - <para> - <parameter>$pass</parameter> - (Deprecated since 0.3) - Password to authenticate - </para> - </listitem> - <listitem> - <para> - <parameter>$authmode</parameter> - (Deprecated since 0.3) - Type of authentication, - at the moment only <link - linkend= - "package.networking.net-nntp.constants.pear-nntp-authoriginal"> - <constant>PEAR_NNTP_AUTHORIGINAL</constant></link> - </para> - </listitem> </itemizedlist> </para> </refsect1> @@ -96,7 +66,7 @@ <row> <entry>&null;</entry> <entry> - <parameter>"Could not connect to NNTP-server $nntpserver" + <parameter>"Could not connect to NNTP-server $host" </parameter> or <parameter>"Not connected"</parameter> </entry> Index: peardoc/en/package/networking/net-nntp/connectauthenticated.xml diff -u peardoc/en/package/networking/net-nntp/connectauthenticated.xml:1.3 peardoc/en/package/networking/net-nntp/connectauthenticated.xml:1.4 --- peardoc/en/package/networking/net-nntp/connectauthenticated.xml:1.3 Sun Aug 31 15:02:35 2003 +++ peardoc/en/package/networking/net-nntp/connectauthenticated.xml Sat Oct 11 07:05:24 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.networking.net-nntp.connectauthenticated"> <refnamediv> <refname>Net_NNTP::connectAuthenticated()</refname> @@ -11,10 +11,6 @@ </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Net_NNTP::connectAuthenticated</function></funcdef> - <paramdef>string <parameter>$nntpserver</parameter></paramdef> - <paramdef> - integer <parameter><optional>$port = 119</optional></parameter> - </paramdef> <paramdef> integer <parameter><optional>$user = &null;</optional></parameter> </paramdef> @@ -22,6 +18,11 @@ integer <parameter><optional>$pass = &null;</optional></parameter> </paramdef> <paramdef> + string <parameter>$host = NET_NNTP_PROTOCOL_DEFAULT_HOST</parameter> + </paramdef> + <paramdef> + integer <parameter><optional>$port = NET_NNTP_PROTOCOL_DEFAULT_PORT</optional></parameter></paramdef> + <paramdef> integer <parameter> <optional>$authmode = NET_NNTP_AUTHORIGINAL</optional> </parameter> @@ -41,22 +42,22 @@ <itemizedlist> <listitem> <para> - <parameter>$nntpserver</parameter> - Name of the newsserver to connect + <parameter>$user</parameter> - Username to authenticate </para> </listitem> <listitem> <para> - <parameter>$port</parameter> - Port, where the newsserver listens + <parameter>$pass</parameter> - Password to authenticate </para> </listitem> <listitem> <para> - <parameter>$user</parameter> - Username to authenticate + <parameter>$host</parameter> - Hostname of the NNTP-server </para> </listitem> <listitem> <para> - <parameter>$pass</parameter> - Password to authenticate + <parameter>$port</parameter> - Port, where the newsserver listens </para> </listitem> <listitem> Index: peardoc/en/package/networking/net-nntp/constants.xml diff -u peardoc/en/package/networking/net-nntp/constants.xml:1.2 peardoc/en/package/networking/net-nntp/constants.xml:1.3 --- peardoc/en/package/networking/net-nntp/constants.xml:1.2 Tue Aug 26 04:58:02 2003 +++ peardoc/en/package/networking/net-nntp/constants.xml Sat Oct 11 07:05:24 2003 @@ -3,40 +3,52 @@ <refname>&title.constants;</refname> <refpurpose>&purpose.preconstants;</refpurpose> </refnamediv> + <refsect1 id="package.networking.net-nntp.constants.net-nntp-protocol-default-host"> + <title><constant>NET_NNTP_PROTOCOL_DEFAULT_HOST</constant></title> + <para> + default NNTP hostname: localhost + </para> + </refsect1> + <refsect1 id="package.networking.net-nntp.constants.net-nntp-protocol-default-port"> + <title><constant>NET_NNTP_PROTOCOL_DEFAULT_PORT</constant></title> + <para> + default NNTP port: 119 + </para> + </refsect1> <refsect1 id="package.networking.net-nntp.constants.net-nntp-authoriginal"> <title><constant>NET_NNTP_AUTHORIGINAL</constant></title> <para> - authentication provided by news server + authentication provided by the NNTP-server </para> </refsect1> <refsect1 id="package.networking.net-nntp.constants.net-nntp-authsimple"> <title><constant>NET_NNTP_AUTHSIMPLE</constant></title> <para> - unused + authentication provided by the NNTP-server </para> </refsect1> <refsect1 id="package.networking.net-nntp.constants.net-nntp-authgeneric"> <title><constant>NET_NNTP_AUTHGENERIC</constant></title> <para> - unused + authentication provided by the NNTP-server </para> </refsect1> <refsect1 id="package.networking.net-nntp.constants.pear-nntp-all"> <title><constant>PEAR_NNTP_ALL</constant></title> <para> - deprecated (unused) + deprecated (never used) </para> </refsect1> <refsect1 id="package.networking.net-nntp.constants.pear-nntp-list"> <title><constant>PEAR_NNTP_LIST</constant></title> <para> - deprecated (unused) + deprecated (never used) </para> </refsect1> <refsect1 id="package.networking.net-nntp.constants.pear-nntp-names"> <title><constant>PEAR_NNTP_NAMES</constant></title> <para> - deprecated (unused) + deprecated (never used) </para> </refsect1> <refsect1 id="package.networking.net-nntp.constants.pear-nntp-authoriginal">

« previous php.pear.doc (#1615) next »