/*----------------------------------------------------------------------- * File: MAF_CONFIG.H * * Copyright (c) 1995-2000 Intel Corporation. All rights reserved. *----------------------------------------------------------------------- */ #ifndef MAF_CONFIG_H #define MAF_CONFIG_H #include "guids.h" #include "dmyemmtype.h" /* GUID of the addin module */ #define ADDIN_GUID_INITIALIZER intel_dummy_emm_addin_guid_init /* Manifest section name of the service provider */ #ifdef VMS #define ADDIN_SELF_CHECK_SECTION "dummyemmaddin_shr" #else #define ADDIN_SELF_CHECK_SECTION "emmdyad300" #endif /* Name of the module. */ #define ADDIN_NAME intel_dummy_emm_addin_fullname_string /* Major version of the cdsa interface */ #define ADDIN_VERSION_MAJOR CSSM_MAJOR /* Minor version of the cdsa interface */ #define ADDIN_VERSION_MINOR CSSM_MINOR /* Is the addin module thread safe? */ #define ADDIN_THREAD_SAFE 1 /* Does the addin module require the writer lock durring SPI functions on the load tracker node (is this node being modified?) */ #define ADDIN_NEED_LOAD_WRITER_LOCK 0 /* Does the addin module require the writer lock durring SPI functions on the attach tracker node (is this node being modified?) */ #define ADDIN_NEED_ATTACH_WRITER_LOCK 0 /* Does the addin module require the custom ADDIN_LOAD_DATA structure (see below) */ #define ADDIN_NEED_ADDIN_LOAD_STRUCT 0 /* Does the addin module require the custom ADDIN_ATTACH_DATA structure (see below) */ #define ADDIN_NEED_ADDIN_ATTACH_STRUCT 0 /* Macro used to define if a subservice pair (id, type) is valid for an addin */ #define ADDIN_IS_VALID_SUBSERVICE(SubServiceId, SubServiceType) \ (((SubServiceId) == 0) && ( ((SubServiceType) == CSSM_SERVICE_EMM_DUMMY) )) #if (ADDIN_NEED_ADDIN_LOAD_STRUCT) /*----------------------------------------------------------------------------- * Description: * Structure containing custom fields in the CSSM_MODULE_LOAD_TRACKER structure *---------------------------------------------------------------------------*/ struct addin_load_data { /* put custom fields here */ }; typedef struct addin_load_data ADDIN_LOAD_DATA; #endif /* if ADDIN_NEED_ADDIN_LOAD_STRUCT */ #if (ADDIN_NEED_ADDIN_ATTACH_STRUCT) /*----------------------------------------------------------------------------- * Description: * Structure containing custom fields in the CSSM_MODULE_ATTACH_TRACKER structure *---------------------------------------------------------------------------*/ struct addin_attach_data { /* put custom fields here */ }; typedef struct addin_attach_data ADDIN_ATTACH_DATA; #endif /* if ADDIN_NEED_ADDIN_ATTACH_STRUCT */ #endif