Previous Topic: ArgumentsNext Topic: Environment


Possible Enter Values

The CMEventContextYyyy routines Enter specific details about the context of the event they are passed. Most of these routines are macros and are the preferred mechanism for accessing the internal structure of an event's context. This mechanism provides protection if the event context structure changes in future releases.

The following table shows the valid values for CMEventContextYyyy routines.

Yyyy Value

Enter Type

Returns

Line

char *

A pointer to the line of context required.

LineLength

int

The length in characters of the line of context specified.

LineTime

time_t

The log file time for the line of context specified.

Returned values should not be freed by the caller. They are freed by a call to CMFreeEvent().