cssm_GetAppMemoryFunctions(3) — Subroutines
NAME
cssm_GetAppMemoryFunctions − Get service functions (CDSA)
SYNOPSIS
# include <cdsa/cssm.h>
CSSM_RETURN CSSMAPI cssm_GetAppMemoryFunctions
(CSSM_MODULE_HANDLE hAddIn,
CSSM_UPCALLS_PTR UpcallTable)
LIBRARY
Common Security Services Manager library (libcssm.so)
PARAMETERS
hAddIn (input)
The handle identifying the attach-session whose memory management function table is returned by this function.
UpcallTable (output)
The table containing sets of service functions among them a set of four memory management functions provided by the application that initiated the attach-session identified by hAddIn.
DESCRIPTION
This function gets a function table containing sets of service functions. Among these service functions are four application-provided memory management functions. The elective module manager can use these functions to manage memory on behalf of the application. The returned function table is specific to the attach-session identified by the module handle.
RETURN VALUE
A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition.
ERRORS
Errors are described in the CDSA technical standard. See CDSA_intro(3).
SEE ALSO
Books
Intel CDSA Application Developer’s Guide (see CDSA_intro(3))
Reference Pages