This file is indexed.

/usr/include/scim-1.0/scim_global_config.h is in libscim-dev 1.4.15-6.

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
/** @file scim_global_config.h
 *  @brief functions to read the global configurations.
 *
 *  The global configuration file (normally /etc/scim/global) is used to store
 *  the configurations for libscim itself and the system wide configurations which
 *  will be read before any Config module is loaded.
 */

/*
 * Smart Common Input Method
 * 
 * Copyright (c) 2004-2005 James Su <suzhe@tsinghua.org.cn>
 *
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, MA  02111-1307  USA
 *
 * $Id: scim_global_config.h,v 1.4 2005/01/10 08:30:54 suzhe Exp $
 */

#ifndef __SCIM_GLOBAL_CONFIG_H
#define __SCIM_GLOBAL_CONFIG_H

namespace scim {
/**
 * @addtogroup Accessories
 * @{
 */

/**
 * @brief Read a string value from the global configuration file.
 *
 * @param key The key to be read, like /PanelProgram etc.
 * @param defVal The default value to be returned if there is no such key in the configuration file.
 *
 * @return the value string of the key.
 */
String scim_global_config_read (const String &key, const String &defVal = String ());

/**
 * @brief Read an int value from the global configuration file.
 *
 * @param key The key to be read, like /SocketTimeout etc.
 * @param defVal The default value to be returned if there is no such key in the configuration file.
 *
 * @return the value of the key.
 */
int    scim_global_config_read (const String &key, int defVal);

/**
 * @brief Read a bool value from the global configuration file.
 *
 * @param key The key to be read.
 * @param defVal The default value to be returned if there is no such key in the configuration file.
 *
 * @return the value of the key.
 */
bool   scim_global_config_read (const String &key, bool defVal);

/**
 * @brief Read a double value from the global configuration file.
 *
 * @param key The key to be read.
 * @param defVal The default value to be returned if there is no such key in the configuration file.
 *
 * @return the value of the key.
 */
double scim_global_config_read (const String &key, double defVal);

/**
 * @brief Read a string list from the global configuration file.
 *
 * @param key The key to be read.
 * @param defVal The default value to be returned if there is no such key in the configuration file.
 *
 * @return the value of the key.
 */
std::vector <String> scim_global_config_read (const String &key, const std::vector <String> &defVal);

/**
 * @brief Read an int list from the global configuration file.
 *
 * @param key The key to be read.
 * @param defVal The default value to be returned if there is no such key in the configuration file.
 *
 * @return the value of the key.
 */
std::vector <int>    scim_global_config_read (const String &key, const std::vector <int> &defVal);

/**
 * @brief Write a string value into the user global config.
 *
 * @param key The key to be associated.
 * @param val The string value to be written.
 */
void scim_global_config_write (const String &key, const String &val);

/**
 * @brief Write an int value into the user global config.
 *
 * @param key The key to be associated.
 * @param val The int value to be written.
 */
void scim_global_config_write (const String &key, int val);

/**
 * @brief Write a bool value into the user global config.
 *
 * @param key The key to be associated.
 * @param val The bool value to be written.
 */
void scim_global_config_write (const String &key, bool val);

/**
 * @brief Write a double value into the user global config.
 *
 * @param key The key to be associated.
 * @param val The double value to be written.
 */
void scim_global_config_write (const String &key, double val);

/**
 * @brief Write a string list into the user global config.
 *
 * @param key The key to be associated.
 * @param val The string list to be written.
 */
void scim_global_config_write (const String &key, const std::vector <String> &val);

/**
 * @brief Write an int list into the user global config.
 *
 * @param key The key to be associated.
 * @param val The int list to be written.
 */
void scim_global_config_write (const String &key, const std::vector <int> &val);

/**
 * @brief Reset the value associated to the specified key to its default value.
 *
 * @param key The key to be reset.
 */
void scim_global_config_reset (const String &key);

/**
 * @brief Flush the updated global config into user global config file.
 * @return true if success.
 */
bool scim_global_config_flush ();

/** @} */
} // namespace scim

#endif //__SCIM_GLOBAL_CONFIG_H
/*
vi:ts=4:nowrap:ai:expandtab
*/