librdkafka
The Apache Kafka C/C++ client library
RdKafka::OpenCb Class Referenceabstract

Portability: OpenCb callback class More...

#include <rdkafkacpp.h>

Public Member Functions

virtual int open_cb (const std::string &path, int flags, int mode)=0
 Open callback The open callback is responsible for opening the file specified by pathname, using flags and mode. The file shall be opened with CLOEXEC set in a racefree fashion, if possible. More...
 

Detailed Description

Portability: OpenCb callback class

Member Function Documentation

§ open_cb()

virtual int RdKafka::OpenCb::open_cb ( const std::string &  path,
int  flags,
int  mode 
)
pure virtual

Open callback The open callback is responsible for opening the file specified by pathname, using flags and mode. The file shall be opened with CLOEXEC set in a racefree fashion, if possible.

It is typically not required to register an alternative open implementation

Remarks
Not currently available on native Win32

The documentation for this class was generated from the following file: