HP OpenVMS Systems Documentation

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

MDSUTIL_ModuleInstall

  Table of Contents

  Glossary

  Index

NAME

MDSUTIL_ModuleInstall — Updates the MDS registry with information on the add-in module

SYNOPSIS

# include <mds_util_api.h> 
# include <mds_util_helper.h>
CSSM_RETURN CSSMAPI MDSUTIL_ModuleInstall 
(const char *ModuleName,
const char *ModuleFileNames,
const char *ModulePathName,
const char *ModuleCredentialName,
const char *ModulCredentialPath,
const CSSM_GUID *GUID,
const MDSUTIL_MODULE_INFO *ModuleDescription,
const void *Reserved1,
const CSSM_DATA *Reserved2)

LIBRARY

Module Directory Services utility API library (cdsa$mds_util_api.olb)

PARAMETERS

ModuleName (input)
  

The name of the add-in module.

ModuleFileNames (input)
  

The name of the file implementing the add-in module.

ModulePathName (input)
  

The path to the file implementing the add-in module.

ModuleCredentialName (input)
  

The name of the credential file for the add-in module.

ModuleCredentialPath (input)
  

The path to the credential file for the add-in module.

GUID (input) 

The Globally Unique ID of the add-in module.

ModuleDescription (input)
  

A pointer to a structure that describes the add-in module.

Reserved1 (input)
  

Reserved data.

Reserved2 (input)
  

Reserved data.

DESCRIPTION

This function updates the MDS registry with information on the add-in module.

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.

CSSMERR_CSSM_INVALID_POINTER
CSSMERR_DL_OS_ACCESS_DENIED
CSSMERR_CSSM_INTERNAL_ERROR
CSSM_ERRCODE_INTERNAL_ERROR

SEE ALSO

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: MDSUTIL_ModuleUninstall, MDSUTIL_ListModules, MDSUTIL_GetModuleInfo, MDSUTIL_GetCredLocationFromGUID, MDSUTIL_FreeModuleInfo, MDSUTIL_FreeModuleList, MDSUTIL_ListModuleManagers, MDSUTIL_GetModuleManagerInfo, MDSUTIL_ModuleManagerInstall, MDSUTIL_ModuleManagerUninstall, MDSUTIL_Init, MDSUTIL_Term