Skip to content

File SolidSyslogPassthroughBufferErrors.h

FileList > Core > Interface > SolidSyslogPassthroughBufferErrors.h

Error codes and Source identity for the PassthroughBuffer.

  • #include <stdint.h>
  • #include "SolidSyslogExternC.h"

Public Types Documentation

SolidSyslogPassthroughBufferErrors

Detail codes for events whose Source is SolidSyslogPassthroughBufferErrorSource.

enum SolidSyslogPassthroughBufferErrors {
    SOLIDSYSLOG_PASSTHROUGH_BUFFER_ERROR_POOL_EXHAUSTED,
    SOLIDSYSLOG_PASSTHROUGH_BUFFER_ERROR_UNKNOWN_DESTROY,
    SOLIDSYSLOG_PASSTHROUGH_BUFFER_ERROR_NULL_SENDER,
    SOLIDSYSLOG_PASSTHROUGH_BUFFER_ERROR_MAX
};

A handler reads these off event->Detail after matching event->Source; the members name their own fault.


Public Attributes Documentation

SolidSyslogPassthroughBufferErrorSource

The identity for events raised by a PassthroughBuffer.

const struct SolidSyslogErrorSource SolidSyslogPassthroughBufferErrorSource;

A handler matches by address (event->Source == &SolidSyslogPassthroughBufferErrorSource), then reads event->Detail as an enum SolidSyslogPassthroughBufferErrors.


Public Functions Documentation

SolidSyslogPassthroughBufferErrors_Name

The detail's name, read beside the category's: NULL_SENDER for SOLIDSYSLOG_PASSTHROUGH_BUFFER_ERROR_NULL_SENDER.

const char * SolidSyslogPassthroughBufferErrors_Name (
    int32_t detail
) 

NULL for a code outside the enum.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogPassthroughBufferErrors.h