This file is indexed.

/usr/include/thunderbird/nsIUnicodeNormalizer.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.

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
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIUnicodeNormalizer.idl
 */

#ifndef __gen_nsIUnicodeNormalizer_h__
#define __gen_nsIUnicodeNormalizer_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
#define NS_UNICODE_NORMALIZER_CID { 0xa665e49a, 0xf3e6, 0x4fed, { 0x9f, 0x31, 0xf7, 0xc5, 0x68, 0xa2, 0x98, 0x99 } }
#define NS_UNICODE_NORMALIZER_CONTRACTID "@mozilla.org/intl/unicodenormalizer;1"

/* starting interface:    nsIUnicodeNormalizer */
#define NS_IUNICODENORMALIZER_IID_STR "b43a461f-1bcf-4329-820b-66e48c979e14"

#define NS_IUNICODENORMALIZER_IID \
  {0xb43a461f, 0x1bcf, 0x4329, \
    { 0x82, 0x0b, 0x66, 0xe4, 0x8c, 0x97, 0x9e, 0x14 }}

class NS_NO_VTABLE nsIUnicodeNormalizer : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IUNICODENORMALIZER_IID)

  /* void NormalizeUnicodeNFD (in AString aSrc, out AString aDest); */
  NS_IMETHOD NormalizeUnicodeNFD(const nsAString & aSrc, nsAString & aDest) = 0;

  /* void NormalizeUnicodeNFC (in AString aSrc, out AString aDest); */
  NS_IMETHOD NormalizeUnicodeNFC(const nsAString & aSrc, nsAString & aDest) = 0;

  /* void NormalizeUnicodeNFKD (in AString aSrc, out AString aDest); */
  NS_IMETHOD NormalizeUnicodeNFKD(const nsAString & aSrc, nsAString & aDest) = 0;

  /* void NormalizeUnicodeNFKC (in AString aSrc, out AString aDest); */
  NS_IMETHOD NormalizeUnicodeNFKC(const nsAString & aSrc, nsAString & aDest) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIUnicodeNormalizer, NS_IUNICODENORMALIZER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIUNICODENORMALIZER \
  NS_IMETHOD NormalizeUnicodeNFD(const nsAString & aSrc, nsAString & aDest) override; \
  NS_IMETHOD NormalizeUnicodeNFC(const nsAString & aSrc, nsAString & aDest) override; \
  NS_IMETHOD NormalizeUnicodeNFKD(const nsAString & aSrc, nsAString & aDest) override; \
  NS_IMETHOD NormalizeUnicodeNFKC(const nsAString & aSrc, nsAString & aDest) override; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIUNICODENORMALIZER(_to) \
  NS_IMETHOD NormalizeUnicodeNFD(const nsAString & aSrc, nsAString & aDest) override { return _to NormalizeUnicodeNFD(aSrc, aDest); } \
  NS_IMETHOD NormalizeUnicodeNFC(const nsAString & aSrc, nsAString & aDest) override { return _to NormalizeUnicodeNFC(aSrc, aDest); } \
  NS_IMETHOD NormalizeUnicodeNFKD(const nsAString & aSrc, nsAString & aDest) override { return _to NormalizeUnicodeNFKD(aSrc, aDest); } \
  NS_IMETHOD NormalizeUnicodeNFKC(const nsAString & aSrc, nsAString & aDest) override { return _to NormalizeUnicodeNFKC(aSrc, aDest); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIUNICODENORMALIZER(_to) \
  NS_IMETHOD NormalizeUnicodeNFD(const nsAString & aSrc, nsAString & aDest) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NormalizeUnicodeNFD(aSrc, aDest); } \
  NS_IMETHOD NormalizeUnicodeNFC(const nsAString & aSrc, nsAString & aDest) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NormalizeUnicodeNFC(aSrc, aDest); } \
  NS_IMETHOD NormalizeUnicodeNFKD(const nsAString & aSrc, nsAString & aDest) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NormalizeUnicodeNFKD(aSrc, aDest); } \
  NS_IMETHOD NormalizeUnicodeNFKC(const nsAString & aSrc, nsAString & aDest) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NormalizeUnicodeNFKC(aSrc, aDest); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsUnicodeNormalizer : public nsIUnicodeNormalizer
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIUNICODENORMALIZER

  nsUnicodeNormalizer();

private:
  ~nsUnicodeNormalizer();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsUnicodeNormalizer, nsIUnicodeNormalizer)

nsUnicodeNormalizer::nsUnicodeNormalizer()
{
  /* member initializers and constructor code */
}

nsUnicodeNormalizer::~nsUnicodeNormalizer()
{
  /* destructor code */
}

/* void NormalizeUnicodeNFD (in AString aSrc, out AString aDest); */
NS_IMETHODIMP nsUnicodeNormalizer::NormalizeUnicodeNFD(const nsAString & aSrc, nsAString & aDest)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void NormalizeUnicodeNFC (in AString aSrc, out AString aDest); */
NS_IMETHODIMP nsUnicodeNormalizer::NormalizeUnicodeNFC(const nsAString & aSrc, nsAString & aDest)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void NormalizeUnicodeNFKD (in AString aSrc, out AString aDest); */
NS_IMETHODIMP nsUnicodeNormalizer::NormalizeUnicodeNFKD(const nsAString & aSrc, nsAString & aDest)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void NormalizeUnicodeNFKC (in AString aSrc, out AString aDest); */
NS_IMETHODIMP nsUnicodeNormalizer::NormalizeUnicodeNFKC(const nsAString & aSrc, nsAString & aDest)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIUnicodeNormalizer_h__ */