This file is indexed.

/usr/include/cmpi/CmpiString.h is in libcmpicppimpl0-dev 2.0.3-0ubuntu2.

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
/*
 *
 * $Id: CmpiString.h,v 1.4 2012/06/03 04:51:10 tyreld Exp $
 *
 * (C) Copyright IBM Corp. 2003, 2005, 2008
 *
 * 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.txt
 *
 * Author:        Adrian Schuur <schuur@de.ibm.com>
 * Contributors:  Heidi Neumann, heidineu@de.ibm.com
 *                Angel Nunez Mencias, anunez@de.ibm.com
 *                Viktor Mihajlovski, mihajlov@de.ibm.com
 *
 * Description: CMPI String Definitions
 *
 */

#ifndef _CmpiString_h_
#define _CmpiString_h_

#include "cmpidt.h"
#include "cmpift.h"
#include <string.h>

#ifndef CMPI_PLATFORM_WIN32_IX86_MSVC
#include <strings.h>
#endif

#ifndef CmpiBoolean
#define CmpiBoolean CMPIBoolean
#define CmpiRc      CMPIrc
#endif

#include "Linkage.h"
#include "CmpiStatus.h"

#ifdef CMPI_PLATFORM_WIN32_IX86_MSVC
#define strcasecmp _stricmp
#endif

/** This class wraps a CIMOM specific string representation.
*/

class CMPI_PROVIDER_LINKAGE CmpiString { //: public CmpiObject {
   friend class CmpiBroker;
   friend class CmpiData;
   friend class CmpiObjectPath;
   friend class CmpiInstance;
   friend class CmpiObject;
   friend class CmpiArgs;
   friend class CmpiArrayIdx;
private:
protected:
   void *enc;
   /** Constructor - Internal use only
   */
   CmpiString(CMPIString* c);

   /** Gets the encapsulated CMPIString.
   */
   CMPIString *getEnc() const;

public:

   /** Constructor - Empty string
   */
   CmpiString();

   /** Constructor - char *
    */
   CmpiString(const char * s);

   /** Constructor - Copy constructor
   */
   CmpiString(const CmpiString& s);

   /** charPtr - get pointer to char* representation
   */
   const char* charPtr() const;

   /** charPtr - Case sensitive compare
   */
   CmpiBoolean equals(const char *str) const;
   CmpiBoolean equals(const CmpiString& str) const;

   /** charPtr - Case insensitive compare
   */
   CmpiBoolean equalsIgnoreCase(const char *str) const;
   CmpiBoolean equalsIgnoreCase(const CmpiString& str) const;
};

#endif