This file is indexed.

/usr/include/sfcCommon/utilft.h is in libsfcutil0-dev 1.0.1-0ubuntu4.

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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
/*
 * utilft.h
 *
 * (C) Copyright IBM Corp. 2005
 *
 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
 * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
 * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
 *
 * You can obtain a current copy of the Eclipse Public License from
 * http://www.opensource.org/licenses/eclipse-1.0.php
 *
 * Author:        Adrian Schuur <schuur@de.ibm.com>
 * Contributions: Sven Schuetz <sven@de.ibm.com>
 *
 * Description:
 *
 * Utilitysupport.
 *
 */

#define UTIL_FT_VERSION 1

#ifndef _UTILFT_H_
#define _UTILFT_H_

// #include "providerRegister.h"
#include "hashtable.h"

#ifdef __cplusplus
extern          "C" {
#endif

  struct _Util_HashTable_FT;
  typedef struct _Util_HashTable_FT Util_HashTable_FT;

  struct _UtilHashTable {
    void           *hdl;
    Util_HashTable_FT *ft;
  };
  typedef struct _UtilHashTable UtilHashTable;

  struct _Util_HashTable_FT {
    int             version;
    void            (*release)
                    (UtilHashTable * ht);
    UtilHashTable  *(*clone)
                    (UtilHashTable * ht);
    void            (*clear)
                    (UtilHashTable * ht);
    int             (*containsKey)
                    (const UtilHashTable * ht, const void *key);
    int             (*containsValue)
                    (const UtilHashTable * ht, const void *value);
    int             (*put)
                    (UtilHashTable * ht, const void *key, void *value);
    void           *(*get)
                    (const UtilHashTable * ht, const void *key);
    void            (*remove)
                    (UtilHashTable * ht, const void *key);
    int             (*isEmpty)
                    (const UtilHashTable * ht);
    int             (*size)
                    (const UtilHashTable * ht);
    int             (*buckets)
                    (const UtilHashTable * ht);
    void            (*rehash)
                    (UtilHashTable * ht, int buckets);

    HashTableIterator *(*getFirst)
        (UtilHashTable * ht, void **key, void **value);

    HashTableIterator *(*getNext)
        (UtilHashTable * ht, HashTableIterator * iterator, void **key,
         void **value);

    void (*setKeyCmpFunction)
        (UtilHashTable * ht,
         int (*keycomp) (const void *k1, const void *k2));

    void (*setValueCmpFunction)
        (UtilHashTable * ht,
         int (*keycomp) (const void *v1, const void *v2));

    void (*setHashFunction)
        (UtilHashTable * ht,
         unsigned long (*hashFunction) (const void *key));

    void (*setReleaseFunctions)
        (UtilHashTable * ht, void (*keyRelease) (void *key),
         void (*valueRelease) (void *value));
  };

#define UtilHashTable_charKey 1
#define UtilHashTable_CMPIStringKey 2
#define UtilHashTable_ignoreKeyCase 4
#define UtilHashTable_managedKey 8
#define UtilHashTable_charValue 16
#define UtilHashTable_CMPIStyleValue 32
#define UtilHashTable_ignoreValueCase 64
#define UtilHashTable_managedValue 128

  struct _Util_List_FT;
  typedef struct _Util_List_FT Util_List_FT;

  struct _UtilList {
    void           *hdl;
    Util_List_FT   *ft;
    int             mem_state;
  };
  typedef struct _UtilList UtilList;

  struct _Util_List_FT {
    int             version;
    void            (*release)
                    (UtilList * ul);
    void            (*memUnlink)
                    (int i);
    UtilList       *(*clone)
                    (UtilList * ul);
    void            (*clear)
                    (UtilList * ul);
    unsigned long   (*size)
                    (UtilList * ul);
    int             (*isEmpty)
                    (UtilList * ul);
    int             (*contains)
                    (UtilList * ul, const void *elm);
    void            (*append)
                    (UtilList * ul, const void *elm);
    void            (*prepend)
                    (UtilList * ul, const void *elm);
    void            (*add)
                    (UtilList * ul, const void *elm);
    void           *(*getFirst)
                    (UtilList * ul);
    void           *(*getLast)
                    (UtilList * ul);
    void           *(*getNext)
                    (UtilList * ul);
    void           *(*getPrevious)
                    (UtilList * ul);
    void           *(*getCurrent)
                    (UtilList * ul);
    void           *(*removeFirst)
                    (UtilList * ul);
    void           *(*removeLast)
                    (UtilList * ul);
    void           *(*removeCurrent)
                    (UtilList * ul);
    void           *(*removeThis)
                    (UtilList * ul, void *elm);
  };

  typedef struct _Util_StringBuffer_FT Util_StringBuffer_FT;
  struct _UtilStringBuffer {
    void           *hdl;
    Util_StringBuffer_FT *ft;
    int             max,
                    len;
  };
  typedef struct _UtilStringBuffer UtilStringBuffer;

  struct _Util_StringBuffer_FT {
    int             version;
    void            (*release) (UtilStringBuffer * sb);
    UtilStringBuffer *(*clone) (UtilStringBuffer * sb);
    const char     *(*getCharPtr) (UtilStringBuffer * sb);
    unsigned int    (*getSize) (UtilStringBuffer * sb);
    void            (*appendChars) (UtilStringBuffer * sb,
                                    const char *chars);
    void            (*reset) (UtilStringBuffer * sb);
    void            (*appendBlock) (UtilStringBuffer * sb, void *,
                                    unsigned int size);
    void            (*append3Chars) (UtilStringBuffer * sb,
                                     const char *chars1,
                                     const char *chars2,
                                     const char *chars3);
    void            (*append5Chars) (UtilStringBuffer * sb,
                                     const char *chars1,
                                     const char *chars2,
                                     const char *chars3,
                                     const char *chars4,
                                     const char *chars5);
    void            (*append6Chars) (UtilStringBuffer * sb,
                                     const char *chars1,
                                     const char *chars2,
                                     const char *chars3,
                                     const char *chars4,
                                     const char *chars5,
                                     const char *chars6);
  };

  struct _Util_Factory_FT;
  typedef struct _Util_Factory_FT Util_Factory_FT;

  struct _Util_Factory_FT {
    int             version;
    UtilHashTable  *(*newHashTableDefault) (long buckets);
    UtilHashTable  *(*newHashTable) (long buckets, long opt);
    UtilList       *(*newList) ();
    // ProviderRegister *(*newProviderRegister) (char *fn);
    UtilStringBuffer *(*newStrinBuffer) (int s);
  };

  extern Util_Factory_FT *UtilFactory;

#define SFCB_APPENDCHARS_BLOCK(sb,c) (sb)->ft->appendBlock((sb),c,sizeof(c)-1)

#ifdef __cplusplus
}
#endif
#endif                          // _UTILFT_H_
/* MODELINES */
/* DO NOT EDIT BELOW THIS COMMENT */
/* Modelines are added by 'make pretty' */
/* -*- Mode: C; c-basic-offset: 2; indent-tabs-mode: nil; -*- */
/* vi:set ts=2 sts=2 sw=2 expandtab: */