[ Previous ] [ Contents ] [ Index ] [ Next ]

C API

The following C functions are new or have been modified for Version 2.3:

Function

Where Documented

All C API entry points beginning with "ns_" have been renamed to begin with "Ns_": The following C API functions have been renamed to be consistent with the naming convention of the remaining C API functions: ns_calloc, ns_free, ns_malloc, ns_realloc, ns_strcopy, and ns_strdup.

The old entry points still work for backwards compatibility, but they are considered obsolete.

C Developer's Guide: page 50, page 182, page 214, page 227, page 313, and page 314

New Ns_AdpParseBuffer C function: This function allows you to parse an ADP that resides in a string buffer.

C Developer's Guide: page 41

Enhanced Ns_AdpParseFile and Ns_AdpParseFp C functions: These functions have been enhanced to allow you to specify arguments to be passed to the ADP and to specify local or global Tcl evaluation.

C Developer's Guide: page 42 and page 43

New Ns_DbPoolTimedGetHandle C function: This function is the same as Ns_DbPoolGetHandle, except it has a timeout.

C Developer's Guide: page 146

New Ns_DbPoolTimedGetMultipleHandles C function: This function is the same as Ns_DbPoolGetMultipleHandles, except it has a timeout.

C Developer's Guide: page 147

New Ns_LogPeriodic C function: This function logs a formatted message to the server log, but only once per a specified period of time.

C Developer's Guide: page 210

New Ns_QueryResolve function: This function implements a subset of the nslookup functions.

C Developer's Guide: page 224

New Ns_RegisterAdpCmd C function: This function allows you to register your own tags that can then be used within ADPs.

C Developer's Guide: page 230

New Ns_UTimedWaitForEvent C function: This function performs the same function as Ns_TimedWaitForEvent, but has a timing granluarity of microseconds.

C Developer's Guide: page 340

New Ns_xxxRWLock C functions: These functions allow you to create, destroy, and manipulate read/write locks.

C Developer's Guide: page 163, page 203, page 228, page 229, page 344, and page 345

New Ns_xxxWithQuota C functions: These new C functions allow you to perform file operations within the pageroot quota.

C Developer's Guide: page 29, page 65, page 159, page 215, page 220, page 248, and page 346

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.