File SolidSyslogNullStream.h¶
FileList > Core > Interface > SolidSyslogNullStream.h
Go to the source code of this file
The no-op Stream Null object: Send returns true (drops the bytes on the floor so the Store does not fill with undeliverables), Read returns 0 (would-block, so the caller does not tear the connection down), Open and Close are no-ops.
#include "ExternC.h"
Public Functions¶
| Type | Name |
|---|---|
| EXTERN_C_BEGIN struct SolidSyslogStream * | SolidSyslogNullStream_Get (void) Open and Close are no-ops. |
Public Functions Documentation¶
function SolidSyslogNullStream_Get¶
Open and Close are no-ops.
Send returns true, reporting the bytes as delivered so the Store does not retain undeliverables. Read returns 0 (would-block, nothing available) rather than a negative value, so the caller does not treat the connection as broken and tear it down.
The documentation for this class was generated from the following file Core/Interface/SolidSyslogNullStream.h