/usr/include/wvstreams/wvloopback.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 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
*
*/
#ifndef __WVLOOPBACK_H
#define __WVLOOPBACK_H
#include "wvfdstream.h"
/**
* Implementation of a WvLoopback stream. WvLoopback uses a
* socketpair() to create a stream that allows you to read()
* everything written to it, even (especially) across a fork() call.
*/
class WvLoopback : public WvFDStream
{
public:
WvLoopback();
public:
const char *wstype() const { return "WvLoopback"; }
};
#endif // __WVLOOPBACK_H
|