eels_initialise --
initialize an event logging session
Synopsis
#include <sys/eels.h>
int eels_initialise(eels_handle_t *handle, char *description);
Description
Initialize a session with the logging subsystem.
This allocates a mapping for this driver that can be
interrogated by a user application for diagnostic purposes.
A unique (dynamic) handle is returned that must be used
for all further EELS requests.
Arguments
handle
The returned session descriptor.
description
The name of the module using the EELS APIs.
Return values
On successful completion, eels_initialise
returns 0. Otherwise, a value of n
is returned, and errno is set to indicate
the error.