EVT_ModuleState

Contains information about an eDirectory module state that is being changed.

Structure

  typedef struct EVT_ModuleState {
     char         *connectionDN;
     unsigned     flags;
     int          module;
     int          source;
     char         name[EVT_MAX_MODULE_NAME];
     char         description[EVT_MAX_MODULE_DESCR];
  };
  

Fields

connectionDN

Specifies the DN of the entry associated with the connection.

flags

The least significant byte of the flags field contains module attribute flags. The next byte contains event subtype flags. They indicate the type of module event in progress. The values for flags field are contained in the following table:

  • 0x0001 DSE_MOD_HIDDEN
  • 0x0002 DSE_MOD_SYSTEM
  • 0x0004 DSE_MOD_ENGINE
  • 0x0008 DSE_MOD_AUTOMATIC
  • 0x00FF DSE_MOD_FILE_MASK
  • 0x0100 DSE_MOD_POSTEVENT
  • 0x0200 DSE_MOD_AVAILABLE
  • 0x0400 DSE_MOD_LOADING
  • 0x0800 DSE_MOD_MODIFY
  • 0x8000 DSE_MOD_NEGATE_BIT
  • 0xFF00 DSE_MOD_EVENT_MASK

The NEGATE_BIT negates the meaning of the other event type flags. For example, the DSE_MOD_LOADING flag is set along with the DSE_MOD_NEGATE_BIT to indicate the module is unloading.

module

Target module for this event.

source

Specifies the affecting module

name

Module name

description

Specifies the name and description of the target module.