/usr/include/sp/InternalInputSource.h is in libsp1-dev 1.3.4-1.2.1-49ubuntu1.
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 46 47 48 | // Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef InternalInputSource_INCLUDED
#define InternalInputSource_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include <stddef.h>
#include "InputSource.h"
#include "Allocator.h"
#include "StringC.h"
#include "types.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class InputSourceOrigin;
class Messenger;
class NamedCharRef;
class SP_API InternalInputSource : public InputSource {
public:
void *operator new(size_t sz, Allocator &alloc) { return alloc.alloc(sz); }
void *operator new(size_t sz) { return Allocator::allocSimple(sz); }
void operator delete(void *p) { Allocator::free(p); }
#ifdef SP_HAVE_PLACEMENT_OPERATOR_DELETE
void operator delete(void *p, Allocator &) { Allocator::free(p); }
#endif
InternalInputSource(const StringC &, InputSourceOrigin *);
Xchar fill(Messenger &);
void pushCharRef(Char ch, const NamedCharRef &);
Boolean rewind(Messenger &);
~InternalInputSource();
private:
InternalInputSource(const InternalInputSource &); // undefined
void operator=(const InternalInputSource &); // undefined
Char *buf_;
const StringC *contents_;
};
#ifdef SP_NAMESPACE
}
#endif
#endif /* not InternalInputSource_INCLUDED */
|