HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > CDSA API Functions

cssm_GetAppMemoryFunctions

 » Table of Contents

 » Glossary

 » Index

NAME

cssm_GetAppMemoryFunctions — Get service functions (CDSA)

SYNOPSIS

# include <cssm.h>
CSSM_RETURN CSSMAPI cssm_GetAppMemoryFunctions
(CSSM_MODULE_HANDLE hAddIn,
CSSM_UPCALLS_PTR UpcallTable)

LIBRARY

Common Security Services Manager library (cdsa$incssm300_shr.exe)

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 ALSO

Books

Intel CDSA Application Developer's Guide