#ifndef ONEWAY_H #define ONEWAY_H #include <stdint.h> /* C++ interface (jako callback v C) */ template<typename T> class OneWay { public: virtual unsigned Send (T * const ptr, const unsigned len) = 0; }; #endif // ONEWAY_H