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

C Developer's Guide

Chapter 1 Extending AOLserver with C
AOLserver Operations
Operation Arguments
Operation Data
Operation Inheritance
Trace, Shutdown, and Access Checking
C Interface
Chapter 2 C API Reference
Loadable C Module Development
Creating a Loadable Module
Using a Loadable Module
C Interface Examples
"Hello World" in AOLserver C
An AOLserver Statistics Module
C API Function Categories
Memory Allocation Functions
Data Structures and Related Functions
Core Functions
Database Functions
ADP Functions
Server-Parsed HTML Functions
C API Function Reference
Ns_AbsoluteUrl
Ns_AdpParseBuffer
Ns_AdpParseFile
Ns_AdpParseFp
Ns_AllocThreadLocalStorage
Ns_AuthorizeRequest
Ns_BeginDetachedThread
Ns_BeginThread
Ns_BroadcastEvent
Ns_Calloc
Ns_ClearSockErrno
Ns_ConfigGetBool
Ns_ConfigGetInt
Ns_ConfigGetPath
Ns_ConfigGetSection
Ns_ConfigGetSections
Ns_ConfigGetValue
Ns_ConfigGetValueExact
Ns_ConnAuthPasswd
Ns_ConnAuthUser
Ns_ConnClose
Ns_ConnCondSetHeaders
Ns_ConnContentLength
Ns_ConnCopyToDString
Ns_ConnCopyToFdWithQuota
Ns_ConnCopyToFile
Ns_ConnDriverContext
Ns_ConnDriverName
Ns_ConnFlushHeaders
Ns_ConnGetQuery
Ns_ConnGets
Ns_ConnHeaders
Ns_ConnHost
Ns_ConnLocation
Ns_ConnModifiedSince
Ns_ConnPeer
Ns_ConnPort
Ns_ConnPrintfHeader
Ns_ConnPuts
Ns_ConnRead
Ns_ConnReadLine
Ns_ConnReplaceHeaders
Ns_ConnResponseLength
Ns_ConnResponseStatus
Ns_ConnReturnAdminNotice
Ns_ConnReturnBadRequest
Ns_ConnReturnData
Ns_ConnReturnFile
Ns_ConnReturnForbidden
Ns_ConnReturnHtml
Ns_ConnReturnInternalError
Ns_ConnReturnNoResponse
Ns_ConnReturnNotFound
Ns_ConnReturnNotice
Ns_ConnReturnNotImplemented
Ns_ConnReturnNotModified
Ns_ConnReturnOk
Ns_ConnReturnOpenFd
Ns_ConnReturnOpenFile
Ns_ConnReturnProxyNotice
Ns_ConnReturnRedirect
Ns_ConnReturnStatus
Ns_ConnReturnUnauthorized
Ns_ConnSendFd
Ns_ConnSendFp
Ns_ConnServer
Ns_ConnSetExpiresHeader
Ns_ConnSetHeaders
Ns_ConnSetLastModifiedHeader
Ns_ConnSetLengthHeader
Ns_ConnSetRequiredHeaders
Ns_ConnSetTypeHeader
Ns_ConnWrite
Ns_Db0or1Row
Ns_Db1Row
Ns_DbAddColumnInfo
Ns_DbBestRowId
Ns_DbBindRow
Ns_DbBouncePool
Ns_DbCancel
Ns_DbCloseDb
Ns_DbColumnCount
Ns_DbColumnIndex
Ns_DbColumnName
Ns_DbColumnType
Ns_DbColumnValue
Ns_DbDML
Ns_DbDriverName
Ns_DbDup
Ns_DbExec
Ns_DbFlush
Ns_DbFreeTableInfo
Ns_DbGetRow
Ns_DbGetTableInfo
Ns_DbInitialized
Ns_DbNewTableInfo
Ns_DbOpenDb
Ns_DbPoolAllowable
Ns_DbPoolDescription
Ns_DbPoolGetHandle
Ns_DbPoolGetMultipleHandles
Ns_DbPoolList
Ns_DbPoolPutHandle
Ns_DbPoolTimedGetHandle
Ns_DbPoolTimedGetMultipleHandles
Ns_DbQuoteValue
Ns_DbRegisterDriver
Ns_DbReturnError
Ns_DbSelect
Ns_DbSetException
Ns_DbTableDescription
Ns_DbTableExists
Ns_DbTableList
Ns_DbTableName
Ns_DbTableValue
Ns_DecodeUrl
Ns_DeleteFileWithQuota
Ns_DestroyCriticalSection
Ns_DestroyEvent
Ns_DestroyMutex
Ns_DestroyRWLock
Ns_DestroySemaphore
Ns_DStringAppend
Ns_DStringExport
Ns_DStringFree
Ns_DStringInit
Ns_DStringLength
Ns_DStringNAppend
Ns_DStringPrintf
Ns_DStringTrunc
Ns_DStringValue
Ns_DStringVarAppend
Ns_DupHigh
Ns_EncodeUrl
Ns_Encrypt
Ns_EnterCriticalSection
Ns_Fatal
Ns_FetchPage
Ns_FetchURL
Ns_Free
Ns_FreeRequest
Ns_GetConnInterp
Ns_GetHostByAddr
Ns_GetRequest
Ns_GetSockErrno
Ns_GetThread
Ns_GetThreadId
Ns_GetThreadLocalStorage
Ns_GetUserHome
Ns_HomePath
Ns_HttpTime
Ns_InfoBuildDate
Ns_InfoConfigFile
Ns_InfoHomePath
Ns_InfoLabel
Ns_InfoServerName
Ns_InfoServerVersion
Ns_InitializeCriticalSection
Ns_InitializeEvent
Ns_InitializeMutex
Ns_InitializeRWLock
Ns_InitializeSemaphore
Ns_InitializeThreads
Ns_LeaveCriticalSection
Ns_LockMutex
Ns_Log
Ns_LogPeriodic
Ns_LogRaw
Ns_LogTime
Ns_MakePath
Ns_Malloc
Ns_MkdirWithQuota
Ns_ModuleLoad
Ns_ModulePath
Ns_ModuleSymbol
Ns_NormalizePath
Ns_OpenWriteWithQuota
Ns_PageRoot
Ns_ParseRequest
Ns_PathIsAbsolute
Ns_QueryResolve
Ns_QuoteHtml
Ns_Realloc
Ns_ReadLockRWLock
Ns_ReadUnlockRWLock
Ns_RegisterAdpCmd
Ns_RegisterAtExit
Ns_RegisterFilter
Ns_RegisterProxyRequest
Ns_RegisterRequest
Ns_RegisterServerShutdown
Ns_RegisterServerTrace
Ns_RegisterShtmlCmd
Ns_RegisterShutdown
Ns_RelativeUrl
Ns_ReleaseSemaphore
Ns_ReturnError (no longer supported)
Ns_RmdirWithQuota
Ns_RollFile
Ns_ScheduleDaily
Ns_ScheduleProc
Ns_ScheduleProcEx
Ns_ScheduleWeekly
Ns_ServerGetContentFileCreationMode
Ns_ServerGetCustomErrorResponse
Ns_ServerGetMimeIcon
Ns_ServerGetMimeType
Ns_ServerSetDefaultMimeType
Ns_ServerSetNoExtensionMimeType
Ns_ServerSpecificAlloc
Ns_ServerSpecificDestroy
Ns_ServerSpecificGet
Ns_ServerSpecificSet
Ns_ServerUpdateMimeType
Ns_SetCopy
Ns_SetCreate
Ns_SetDelete
Ns_SetDeleteKey
Ns_SetEvent
Ns_SetFind
Ns_SetFree
Ns_SetGet
Ns_SetIDeleteKey
Ns_SetIFind
Ns_SetIGet
Ns_SetIUnique
Ns_SetKey
Ns_SetLast
Ns_SetListFind
Ns_SetListFree
Ns_SetMerge
Ns_SetMove
Ns_SetName
Ns_SetPrint
Ns_SetPut
Ns_SetPutValue
Ns_SetRequestAuthorizeProc
Ns_SetSize
Ns_SetSockErrno
Ns_SetSplit
Ns_SetThreadLocalStorage
Ns_SetThreadPriority
Ns_SetThreadStackSize
Ns_SetTrunc
Ns_SetUnique
Ns_SetUrlToFileProc
Ns_SetValue
Ns_Shutdown
Ns_SignalServer
Ns_SkipUrl
Ns_SockAsyncConnect
Ns_SockCallback
Ns_SockCloseLater
Ns_SockConnect
Ns_SockListen
Ns_SockPipe
Ns_SockSetBlocking
Ns_SockSetNonBlocking
Ns_SockStrError
Ns_SockTimedConnect
Ns_StrCopy
Ns_StrDup
Ns_TclAllocateInterp
Ns_TclDbGetHandle
Ns_TclDeAllocateInterp
Ns_TclEnterSet
Ns_TclEval
Ns_TclFreeSet
Ns_TclGetSet
Ns_TclGetSet2
Ns_TclInitInterps
Ns_ThreadYield
Ns_TimedWaitForEvent
Ns_UnlockMutex
Ns_UnRegisterProxyRequest
Ns_UnRegisterRequest
Ns_UnscheduleProc
Ns_UrlIsDir
Ns_UrlIsFile
Ns_UrlIsMiniWeb
Ns_UrlSpecificAlloc
Ns_UrlSpecificDestroy
Ns_UrlSpecificGet
Ns_UrlSpecificGetExact
Ns_UrlSpecificSet
Ns_UrlToFile
Ns_UrlToNvd
Ns_UTimedWaitForEvent
Ns_WaitForEvent
Ns_WaitForSemaphore
Ns_WaitForThread
Ns_WriteLockRWLock
Ns_WriteUnlockRWLock
Ns_WriteWithQuota
Chapter A C Examples
Example 1: hello
Example 2: alias
Example 3: counter
Example 4: stats
Example 5: tclhello
Example 6: tclcs
Example 7: postgres
Chapter B Developing Database Drivers for AOLserver
Introduction
Internal vs. External Database Drivers
Examples
The Internal Driver API
The External Driver API
Functions to be Implemented
Utility Functions
Constants
External API Function Reference
Ns_PdDbBestRowId
Ns_PdDbBindRow
Ns_PdDbCancel
Ns_PdDbCleanup
Ns_PdDbClose
Ns_PdDbExec
Ns_PdDbFlush
Ns_PdDbGetRow
Ns_PdDbGetTableInfo
Ns_PdDbGetTypes
Ns_PdDbIndentify
Ns_PdDbInit
Ns_PdDbOpen
Ns_PdDbResultId
Ns_PdDbResultRows
Ns_PdDbSetMaxRows
Ns_PdDbTableList
Ns_PdFreeRowInfo
Ns_PdLog
Ns_PdParseOpenArgs
Ns_PdSendData
Ns_PdSendException
Ns_PdSendRowInfo
Ns_PdSendString
Master Index

Top of Page

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