--On Tuesday, November 12, 2002 10:42 PM +0100 Derick Rethans <[EMAIL PROTECTED]> wrote:

On Tue, 12 Nov 2002, Harrie Hazewinkel wrote:

>> These function names don't follow the PHP standards, I think we should
>> definitely come up with better names.
>
> I agree. what's wrong with snmp_get, snmp_walk, and so on?

I believe it is neccessary to have the 'v3' in the name. It makes very
clear to people that it is for snmpv3 and not any opther snmp version.

SNMPv3 is the protocol version that has security support and is known
as under SNMPv3 by many people.
But what use does it have in it's name? We don't have PGsqlV6 and
pgsqlv7_, or mysqlv3_ and mysqlv4_ (or take the gd functions).
Again I believe there is a difference between a package version number
and this protocol. I do not believe that snmp_get is an improvement over
snmpv3get for instance.

Although, I admit I have been thinking of using the used example snmp_get,
but then I need to add a version number as parameter. This would allow
as well the existing snmpget (for SNMPv1) to be combined with snmpv3get
(for SNMPv3). However, I have kept it simple for the moment and attempted
to make it as easy as possible to upgrade scripts to SNMPv3.
And on top of it, also providing a quick and well understood recognition
of it.

Also SNMPv3 is a full standard and that version number is not likely
(and hopefully) about to change.


Anyway, where would be the function name guide lines on the website.
I cannot find it and a pointer would be appreciated.
See the CODING_STANDARDS file in the root of the php4/ CVS module.
THanks, I will check it out.

Derick

--

-------------------------------------------------------------------------
--  Derick Rethans
http://derickrethans.nl/   JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c?
]-




Harrie

Internet Management Consulting
mailto: [EMAIL PROTECTED]                   http://www.lisanza.net/
--------------------------------------------------------------------
Author of MOD-SNMP, enabling SNMP management the Apache HTTP server

--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to