Previous section.

Common Security: CDSA and CSSM
Copyright © 1997 The Open Group

NAME

CSSM_FreeInfo

SYNOPSIS

CSSM_RETURN CSSMAPI CSSM_FreeInfo
    (const CSSM_CSSMINFO_PTR CssmInfo,
     const CSSM_MEMORY_FUNCS_PTR MemoryFunctions,
     uint32 NumCssmInfos)

DESCRIPTION

This function frees the memory containing the version information of all the CSSM instances installed/registered on the local system. Memory to de-allocated using the memory deallocation function.

PARAMETERS

CssmInfo (input)

A CSSM_INFO_PTR referencing a list of Info structures allocated by the CSSM_GetInfo function.

MemoryFunctions (input)

A table of API_MEMORY_FUNCTION pointers for use by CSSM. CSSM uses the memory de-allocation function to release memory holding CSSM information structures.

NumCSSMInfos (input)

The number of CSSM information structures contained in the list.

RETURN VALUE

A CSSM_OK return value signifies the CSSM_INFO structures have been successfully de-allocated. When CSSM_FAIL is returned, an error occurred. Use CSSM_GetError to obtain the error code.

ERRORS

CSSM_MEMORY_ERROR

Error in de-allocating memory.

CSSM_INVALID_POINTER

Invalid pointer.

SEE ALSO

CSSM_FreeInfo,
CSSM_Load

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.
You should also read the legal notice explaining the terms and conditions relating to the CDSA documentation.

Contents Next section Index