/usr/include/wvstreams/uniwvconfgen.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 33 34 35 36 37 38 39 40 41 42 43 44 45 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 2002 Net Integration Technologies, Inc.
*
* A generator to make a UniConf object out of a WvConf.
*/
#ifndef __UNICONFWVGEN_H
#define __UNICONFWVGEN_H
#include "uniconfgen.h"
class WvConf;
/**
* A UniConf generator for backwards compatibility with WvConf
*/
class UniWvConfGen : public UniConfGen
{
private:
UniConfKey *tempkey;
WvString tempvalue;
void notify(void *userdata, WvStringParm section, WvStringParm entry,
WvStringParm oldval, WvStringParm newval);
protected:
WvConf *cfg;
class WvConfIter;
public:
UniWvConfGen(WvConf *_cfg);
~UniWvConfGen();
/***** Overridden members *****/
virtual void flush_buffers() { }
virtual WvString get(const UniConfKey &key);
virtual void set(const UniConfKey &key, WvStringParm value);
virtual void setv(const UniConfPairList &pairs);
virtual bool haschildren(const UniConfKey &key);
virtual Iter *iterator(const UniConfKey &key);
};
#endif //__UNICONFWVGEN_H
|