File SolidSyslogSharedScratchErrors.h¶
FileList > Core > Interface > SolidSyslogSharedScratchErrors.h
Error codes and Source identity for the SharedScratch.
#include <stdint.h>#include "SolidSyslogExternC.h"
Public Types Documentation¶
SolidSyslogSharedScratchErrors¶
Detail codes for events whose Source is SolidSyslogSharedScratchErrorSource.
enum SolidSyslogSharedScratchErrors {
SOLIDSYSLOG_SHARED_SCRATCH_ERROR_POOL_EXHAUSTED,
SOLIDSYSLOG_SHARED_SCRATCH_ERROR_UNKNOWN_DESTROY,
SOLIDSYSLOG_SHARED_SCRATCH_ERROR_NULL_MUTEX,
SOLIDSYSLOG_SHARED_SCRATCH_ERROR_MAX
};
A handler reads these off event->Detail after matching event->Source; the members name their own fault.
Public Attributes Documentation¶
SolidSyslogSharedScratchErrorSource¶
The identity for events raised by a SharedScratch.
A handler matches by address (event->Source == &SolidSyslogSharedScratchErrorSource), then reads event->Detail as an enum SolidSyslogSharedScratchErrors.
Public Functions Documentation¶
SolidSyslogSharedScratchErrors_Name¶
The detail's name, read beside the category's: NULL_MUTEX for SOLIDSYSLOG_SHARED_SCRATCH_ERROR_NULL_MUTEX.
NULL for a code outside the enum.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogSharedScratchErrors.h