This file is indexed.

/usr/include/root/TLDAPAttribute.h is in libroot-net-ldap-dev 5.34.14-1build1.

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
// @(#)root/ldap:$Id$
// Author: Evgenia Smirnova   21/09/2001

/*************************************************************************
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TLDAPAttribute
#define ROOT_TLDAPAttribute

#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TList
#include "TList.h"
#endif
#ifndef ROOT_CintLDAP
#include "CintLDAP.h"
#endif

class TLDAPEntry;


class TLDAPAttribute : public TNamed {

friend class TLDAPEntry;

private:
   TList          *fValues;        // list of values
   mutable Int_t   fNCount;        // next value to be returned by GetValue()

   LDAPMod    *GetMod(Int_t op);   // for getting mod for attribute

protected:
   TLDAPAttribute& operator=(const TLDAPAttribute &);

public:
   TLDAPAttribute(const char *name);
   TLDAPAttribute(const char *name, const char *value);
   TLDAPAttribute(const TLDAPAttribute &attr);
   virtual ~TLDAPAttribute();

   void            AddValue(const char *value);
   void            DeleteValue(const char *value);
   const char     *GetValue() const;
   Int_t           GetCount() const { return fValues->GetSize(); }
   void            Print(Option_t * = "") const;

   ClassDef(TLDAPAttribute, 0) //interface to LDAP
};

#endif