/usr/include/wvstreams/uniconfdaemon.h is in libwvstreams-dev 4.6.1-11.
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 33 34 35 36 37 38 39 40 41 42 43 44 | /*
* Worldvisions Weaver Software:
* Copyright (C) 1997-2004 Net Integration Technologies, Inc.
*
* Manages a UniConf daemon.
*/
#ifndef __UNICONFDAEMON_H
#define __UNICONFDAEMON_H
#include "wvlog.h"
#include "wvistreamlist.h"
#include "uniconf.h"
#include "wvaddr.h"
class UniConfDaemon : public WvIStreamList
{
UniConf cfg;
WvLog log, debug;
bool authenticate;
IUniConfGen *permgen;
public:
/**
* Create a UniConfDaemon to serve the Uniconf tree cfg. If auth is
* true, require authentication through PAM before accepting connections.
*/
UniConfDaemon(const UniConf &cfg, bool auth, IUniConfGen *permgen);
virtual ~UniConfDaemon();
virtual void close();
void accept(WvStream *stream);
/**
* Start listening on a socket described by the given WvListener
* moniker.
*/
void listen(WvStringParm lmoniker);
private:
void listencallback(IWvStream *s);
};
#endif // __UNICONFDAEMON_H
|