On Mon, 29 Sep 2003, Daniel Gilly wrote:

> I'm looking for man-page style info for ns_register_adp and
> ns_unregister_adp. Can anyone point me to it or provide it?
>
> Daniel

Some time ago I have created ns_register_adp for my private project and
proposed to add it to AOLserver core.

I found it usefull to write request handlers as adp files where I can use
ns_adp_* commands and I don't have to restart servers or source library
files to see changes to my handler (it is handled by ADP processor).

ns_register_adp has syntax of ns_register_proc, but you should use ADP
file path instead of proc name. Jim Davidson added also ns_unregister_adp
to unregister previously registered handler. I belive it has the same
syntax as ns_unregister_proc. I'm almost sure you can even use
ns_unregister_proc instead ns_unregister_adp because they are simple
wrappers for Ns_UnRegisterRequest (which knows how to free args using
free proc).

--tkosiak


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to