EELS application programming interface
XDAS implements a four-stage process for committing records
to the Event log. This four-stage process consists of allocating a record,
putting information in it, time stamping it, and committing
it to the Event log. This can prove to be quite cumbersome,
especially if you just want to use EELS as a generic logging mechanism
for error conditions, debugging information and so on. EELS defines
additional logging routines that implement a single-stage commit similar
to that provided by
syslogd(1M).
This approach provides the best of both worlds, because EELS
then provides a powerful auditing API (XDAS)
as well as a generic logging API.
All EELS API routines are available from user
and kernel level. The routines that are accessible at
user level
are provided
in libeels.so. The
kernel level
routines are accessed by including ``$ interface eels 1''
in the Master file for the driver.
An example of a
kernel driver
that uses the EELS API is
included to demonstrate how to use the API.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004