This file is indexed.

/usr/include/OpenSP/DescriptorManager.h is in libosp-dev 1.5.2-13ubuntu1.

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
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.

#ifndef DescriptorManager_INCLUDED
#define DescriptorManager_INCLUDED 1

#include "Boolean.h"
#include "List.h"

#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif

class DescriptorManager;

class SP_API DescriptorUser {
public:
  DescriptorUser(DescriptorManager *);
  virtual ~DescriptorUser();
  virtual Boolean suspend();
  void managerDeleted();
  void acquireD();
  void releaseD();
  DescriptorManager *manager() const;
private:
  DescriptorManager *manager_;
};

class SP_API DescriptorManager {
public:
  DescriptorManager(int maxD);
  ~DescriptorManager();
  void acquireD();
  void releaseD();
  void addUser(DescriptorUser *);
  void removeUser(DescriptorUser *);
private:
  DescriptorManager(const DescriptorManager &);	// undefined
  void operator=(const DescriptorManager &);	// undefined

  int usedD_;
  int maxD_;
  List<DescriptorUser *> users_;
};

#ifdef SP_NAMESPACE
}
#endif

#endif /* not DescriptorManager_INCLUDED */