/usr/include/wvstreams/wvmagicloopback.h is in libwvstreams-dev 4.6.1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 1997-2004 Net Integration Technologies, Inc.
*/
#ifndef __WVMAGICLOOPBACK_H
#define __WVMAGICLOOPBACK_H
#include "wvmagiccircle.h"
#include "wvloopback.h"
class WvMagicLoopback : public WvStream
{
public:
WvMagicLoopback(size_t size);
virtual void pre_select(SelectInfo &si);
virtual bool post_select(SelectInfo &si);
virtual size_t uread(void *buf, size_t len);
virtual size_t uwrite(const void *buf, size_t len);
private:
WvMagicCircle circle;
WvLoopback loop;
public:
const char *wstype() const { return "WvMagicLoopback"; }
};
#endif // __WVMAGICLOOPBACK_H
|