This file is indexed.

/usr/include/OpenJade/DssslApp.h is in libostyle-dev 1.4devel1-21.1.

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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Copyright (c) 1996, 1997 James Clark
// See the file copying.txt for copying permission.

#ifndef DssslApp_INCLUDED
#define DssslApp_INCLUDED 1

#include "GroveApp.h"
#include "FOTBuilder.h"
#include "GroveManager.h"
#include "dsssl_ns.h"

#ifdef DSSSL_NAMESPACE
namespace DSSSL_NAMESPACE {
#endif

class StyleEngine;

class STYLE_API DssslApp : public GroveApp, public GroveManager {
public:
  DssslApp(int unitsPerInch);
  virtual FOTBuilder *makeFOTBuilder(const FOTBuilder::Description *&) = 0;
  int processSysid(const StringC &);
  bool load(const StringC &sysid, const Vector<StringC> &active,
	    const NodePtr &parent, NodePtr &rootNode,
	    const Vector<StringC> &architecture);
  bool readEntity(const StringC &, StringC &);
  void mapSysid(StringC &);
protected:
  void processOption(AppChar opt, const AppChar *arg);
  int init(int argc, AppChar **argv);
  int unitsPerInch_;
  StringC defaultOutputBasename_;
private:
  void processGrove();
  int generateEvents(ErrorCountEventHandler *eceh);
  Boolean getDssslSpecFromProlog();
  Boolean getDssslSpecFromPi(const Char *s, size_t n,
			     const Location &loc);
  static void splitOffId(StringC &, StringC &);
  Boolean handleSimplePi(const Char *, size_t, const Location &);
  Boolean handleAttlistPi(const Char *, size_t, const Location &);
  static void skipS(const Char *&s, size_t &n);
  static Boolean isS(Char c);
  static Boolean matchCi(const StringC &s, const char *key);
  static Boolean matchCi(const Char *s, size_t n, const char *key);
  static Boolean getAttribute(const Char *&s, size_t &n,
			      StringC &name, StringC &value);
  Boolean initSpecParser();

  Boolean dssslSpecOption_;
  StringC dssslSpecSysid_; // system ID of doc
  StringC dssslSpecId_; // unique ID in doc
  // Variables to be defined as true
  Vector<StringC> defineVars_;
  SgmlParser specParser_;
  HashTable<StringC,NodePtr> groveTable_;
  StringC rootSystemId_;
  bool debugMode_;
  bool dsssl2_;
  bool strictMode_;
  ParserOptions docOptions_;
  ParserOptions specOptions_;

  friend class PrologPiEventHandler;
  const FOTBuilder::Description *fotbDescr_;
  Boolean specTitleOption_;
  StringC specTitle_;
  Vector<StringC> availableSpecTitles_;

  FOTBuilder *fotb_;
  StyleEngine *se_;
};

#ifdef DSSSL_NAMESPACE
}
#endif

#endif /* not DssslApp_INCLUDED */