Previous Topic: SmEventInit()

Next Topic: SmEventRelease()

SmEventRecord()

The Policy Server calls this function when an event has been signalled.

Syntax

void SM_EXTERN SmEventRecord (
   const int   nCategoryType,
   const int   nCategory,
   const int   nEventId,
   void*       pData
);

Parameter

I/O

Description

nCategoryType

I

The type of the event being logged. One of the following valid values:

  • SmLog_Access
  • SmLog_EMS
  • SmLog_Obj
  • SmLog_System

nCategory

I

The event category. A list of valid event categories follows this parameter table.

nEventID

I

The event.

pData

I

The pointer to the property instance. The structure could be one of the following:

Valid values for the nCategory parameter are as follows:

SmLogAccessCat_Admin

SmLogAccessCat_Affiliate

SmLogAccessCat_Auth

SmLogAccessCat_Az

SmLogEmsCat_DirectoryAdmin

SmLogEmsCat_DirectorySession

SmLogEmsCat_DirectoryUser

SmLogEmsCat_EventPostprocess

SmLogEmsCat_EventPreprocess

SmLogObjCat_ActiveExpr

SmLogObjCat_Admin

SmLogObjCat_Agent

SmLogObjCat_AgentGroup

SmLogObjCat_AgentKey

SmLogObjCat_Auth

SmLogObjCat_AuthAzMap

SmLogObjCat_CertMap

SmLogObjCat_Domain

SmLogObjCat_KeyManagement

SmLogObjCat_ManagementCommand

SmLogObjCat_ODBCQuery

SmLogObjCat_PasswordPolicy

SmLogObjCat_Policy

SmLogObjCat_PolicyLink

SmLogObjCat_Property

SmLogObjCat_PropertyCollection

SmLogObjCat_PropertySection

SmLogObjCat_Realm

SmLogObjCat_Response

SmLogObjCat_ResponseAttr

SmLogObjCat_ResponseGroup

SmLogObjCat_Root

SmLogObjCat_RootConfig

SmLogObjCat_Rule

SmLogObjCat_RuleGroup

SmLogObjCat_Scheme

SmLogObjCat_SelfReg

SmLogObjCat_TaggedString

SmLogObjCat_UserDirectory

SmLogObjCat_UserPolicy

SmLogObjCat_Variable

SmLogObjCat_VariableType

SmLogObjCat_Vendor

SmLogObjCat_VendorAttr

SmLogSystemCat_Acct

SmLogSystemCat_Admin

SmLogSystemCat_Auth

SmLogSystemCat_Az

SmLogSystemCat_Combined

SmLogSystemCat_System


Copyright © 2010 CA. All rights reserved. Email CA about this topic