NWConfigHeader

Stores information associated with a volume’s audit file configuration header

Service:Auditing
Defined In:nwaudit.h

Structure

   typedef struct 
   { 
      nuint16         fileVersionDate ; 
      nuint8          auditFlags ; 
      nuint8          errMsgDelayMinutes ; 
      nuint8          reserved1 [16]; 
      nuint32         auditFileMaxSize ; 
      nuint32         auditFileSizeThreshold ; 
      nuint32         auditRecordCount ; 
      nuint32         historyRecordCount ; 
      nuint8          reserved2 [16]; 
      nuint32         reserved3 [3]; 
      nuint8          auditEventbitMap [NW_AUDIT_NUMBER_EVENT_BITS/8]; 
      nuint32         auditFileCreationDateTime ; 
      nuint8          reserved4 [8]; 
      nuint16         auditFlags2 ; 
      nuint16         fileVersionDate2 ; 
      nuint8          fileArchiveDays ; 
      nuint8          fileArchiveHour ; 
      nuint8          numOldAuditFilesToKeep ; 
      nuint8          reserved5 ; 
      nuint32         headerChecksum ; 
      nuint32         headerModifiedCounter ; 
      nuint32         reserved6 ; 
      nuint8          newbitMap [64]; 
      nuint8          reserved7 [64]; 
   } NWConfigHeader; 
   
   

Pascal Structure

   uses audwin32 
    
   NWConfigHeader = packed Record 
         fileVersionDate : nuint16;  
         auditFlags : nuint8;  
         errMsgDelayMinutes : nuint8;  
         reserved1 : Array[0..15] Of nuint8;  
         auditFileMaxSize : nuint32;  
         auditFileSizeThreshold : nuint32;  
         auditRecordCount : nuint32;  
         historyRecordCount : nuint32;  
         reserved2 : Array[0..15] Of nuint8;  
         reserved3 : Array[0..2] Of nuint32;  
         auditEventBitMap : Array[0..31] Of nuint8; 
         auditFileCreationDateTime : nuint32;  
         reserved4 : Array[0..7] Of nuint8;  
         auditFlags2 : nuint16;  
         fileVersionDate2 : nuint16;  
         fileArchiveDays : nuint8;  
         fileArchiveHour : nuint8;  
         numOldAuditFilesToKeep : nuint8;  
         reserved5 : nuint8; 
         headerChecksum : nuint32;  
         headerModifiedCounter : nuint32;  
         (* Trusted NetWare uses the following two fields *) 
         reserved6 : nuint32; 
         (*Trusted NetWare uses this bitmap instead of  
            volumeAuditEventBitMap above       *) 
         newBitMap : Array[0..63] Of nuint8; 
         reserved7 : Array[0..63] Of nuint8 
      End; 
   
   

Fields

fileVersionDate
Specifies the current version of the audit file.
auditFlags
Specifies the set of bit flags controlling the audit.
errMsgDelayMinutes
Specifies the number of minutes to delay between error messages.
reserved1
Specifies the maximum allowable size of the audit file.
auditFileMaxSize
Specifies the maximum allowable size of the audit file.
auditFileSizeThreshold
Specifies the size at which users are notified that the audit file is approaching its maximum size.
auditRecordCount
Specifies the number of records in the audit file.
historyRecordCount
Specifies the number of records in the audit history file (found only in the volume configuration).
reserved2
Reserved by Novell for future use.
reserved3
Reserved by Novell for future use.
auditEventBitMap
auditFileCreationDateTime
reserved4
Reserved by Novell for future use.
auditFlags2
fileVersionDate2
fileArchiveDays
fileArchiveHour
numOldAuditFilesToKeep
reserved5
Reserved by Novell for future use.
headerChecksum
headerModifiedCounter
reserved6
Reserved by Novell for future use.
newBitMap
Specifies Trusted NetWare uses this bitmap instead of auditEventBitMap.
reserved7
Trusted NetWare uses this field.