There are actually three commands, all point to NsTclRegisterAdpCmd and have
an identical effect:

        "ns_register_adptag", NsTclRegisterTagCmd, NULL
        "ns_adp_registeradp", NsTclRegisterAdpCmd, NULL
        "ns_adp_registertag", NsTclRegisterAdpCmd, NULL

ns_register_adptag

  and

ns_adp_registeradp

ought to be considered deprecated.

/s.


----- Original Message -----
From: "Peter M. Jansson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 4:29 PM
Subject: [AOLSERVER] ns_adp_registertag or ns_adp_registercmd?


> Another one.
>
> Both of these commands are registered, and run the same code, and the code
> does not appear to differentiate between the two.  The current HTML docs
> define ns_adp_registertag, but do not define ns_adp_registertag.  Should
> both be defined, with ns_adp_registercmd marked as deprecated?
>
> (I think it's a good idea to document all of the commands, even if they
> are deprecated, as long as they're in the code base.  Deprecated commands
> and functions should be clearly marked as such. )
>
>

Reply via email to