cssmspi.h
来自「Next BIOS Source code : Extensible Firmw」· C头文件 代码 · 共 108 行
H
108 行
/* SCCSID: inc/cssmspi.h, dss_cdsa_fwk, fwk_rel2, dss_971010 1.6 10/23/97 17:53:37 */
/*-----------------------------------------------------------------------
* File: CSSMSPI.H
*
* (C) COPYRIGHT International Business Machines Corp. 1996, 1997
* All Rights Reserved
* Licensed Materials - Property of IBM
*
Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved
This software and associated documentation (if any) is furnished
under a license and may only be used or copied in accordance
with the terms of the license. Except as permitted by such
license, no part of this software or documentation may be
reproduced, stored in a retrieval system, or transmitted in any
form or by any means without the express written consent of
Intel Corporation.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
*/
/*
* WARNING: EXPORT RESTRICTED.
* This software is subject to the U.S. Export Administration Regulations
* and other U.S. law, and may not be exported or re-exported to certain
* countries (currently Afghanistan (Taliban-controlled areas), Cuba, Iran,
* Iraq, Libya, North Korea, Serbia (except Kosovo), Sudan and Syria) or to
* persons or entities prohibited from receiving U.S. exports (including Denied
* Parties, Specially Designated Nationals, and entities on the Bureau of
* Export Administration Entity List or involved with missile technology or
* nuclear, chemical or biological weapons).
*/
#ifndef _CSSMSPI_H
#define _CSSMSPI_H
#include "cssmtype.h"
#include "cssmcspi.h"
#include "cssmdli.h"
#include "cssmcli.h"
#include "cssmtpi.h"
#include "cssmvli.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct cssm_module_funcs {
CSSM_SERVICE_TYPE ServiceType;
union cssm_function_table{
void *ServiceFuncs;
CSSM_SPI_CSP_FUNCS_PTR CspFuncs;
CSSM_SPI_DL_FUNCS_PTR DlFuncs;
CSSM_SPI_CL_FUNCS_PTR ClFuncs;
CSSM_SPI_TP_FUNCS_PTR TpFuncs;
CSSM_SPI_VL_FUNCS_PTR VlFuncs;
} FunctionTable;
} CSSM_MODULE_FUNCS, *CSSM_MODULE_FUNCS_PTR;
/* Structure for passing handle information to addins */
typedef struct cssm_handleinfo {
uint32 SubServiceID;
uint32 SessionFlags;
CSSM_NOTIFY_CALLBACK Callback;
uint32 ApplicationContext;
} CSSM_HANDLEINFO, *CSSM_HANDLEINFO_PTR;
typedef struct cssm_registration_info {
/* Loading, Unloading and Event Notifications */
CSSM_RETURN (CSSMAPI *Initialize) (CSSM_MODULE_HANDLE Handle,
uint32 VerMajor,
uint32 VerMinor);
CSSM_RETURN (CSSMAPI *Terminate) (CSSM_MODULE_HANDLE Handle);
CSSM_RETURN (CSSMAPI *EventNotify) (CSSM_MODULE_HANDLE Handle,
const CSSM_EVENT_TYPE Event,
uint32 Param);
CSSM_MODULE_INFO_PTR (CSSMAPI *GetModuleInfo)
(CSSM_MODULE_HANDLE ModuleHandle,
CSSM_SERVICE_MASK ServiceMask,
uint32 SubserviceID,
CSSM_INFO_LEVEL InfoLevel);
CSSM_RETURN (CSSMAPI *FreeModuleInfo) (CSSM_MODULE_HANDLE ModuleHandle,
CSSM_MODULE_INFO_PTR ModuleInfo);
CSSM_BOOL ThreadSafe;
uint32 ServiceSummary;
uint32 NumberOfServiceTables;
CSSM_MODULE_FUNCS_PTR Services;
} CSSM_REGISTRATION_INFO, *CSSM_REGISTRATION_INFO_PTR;
#ifndef RUNTIME_CSSM_SYMBOL_RESOLUTION
CSSM_RETURN CSSMAPI CSSM_RegisterServices (
const CSSM_GUID_PTR GUID,
const CSSM_REGISTRATION_INFO_PTR FunctionTable,
CSSM_SPI_MEMORY_FUNCS_PTR UpcallTable,
void *Reserved);
CSSM_RETURN CSSMAPI CSSM_DeregisterServices (const CSSM_GUID_PTR GUID);
#endif
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?