This file is indexed.

/usr/include/libxr/xr-value-utils.h is in libxr1-dev 1.0-2.1.

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
/* 
 * Copyright 2006-2008 Ondrej Jirman <ondrej.jirman@zonio.net>
 * 
 * This file is part of libxr.
 *
 * Libxr 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.
 *
 * Libxr 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 libxr.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Author: David Lee <live4thee@gmail.com> (2007-12-27)
 * Small cleanups by Ondrej Jirman <ondrej.jirman@zonio.net>.
 */

/** @file xr-value-utils.h
 *
 * xr_value parser/builder.
 *
 * API which accepts a subset of xmlrpc-c format string. c.f.
 * http://xmlrpc-c.sourceforge.net/doc/libxmlrpc.html#formatstring
 *
 * Supported specifiers:
 *  i -- int
 *  b -- boolean
 *  d -- double
 *  s -- string
 *  A -- array
 *  S -- struct
 *  ( -- begin of an array
 *  ) -- end of an array
 *  { -- begin of a struct
 *  } -- end of a struct
 *  : -- key-value pair separator in a struct
 *  , -- separator for members of a struct
 *  * -- tagging the end of a struct, or ingore rest items of an array
 */

#ifndef __XR_VALUE_UTILS_H__
#define __XR_VALUE_UTILS_H__

#include <xr-value.h>

G_BEGIN_DECLS

/** Build a value node from format string.
 *
 * @param fmt The format string.
 *
 * @return A NULL pointer indicates a failure.
 */
xr_value* xr_value_build(const char* fmt, ...);

/** Parse a value node using format string.
 *
 * @param value The node to be parsed.
 * @param fmt The format string.
 *
 * @return TRUE on success, FALSE on failure.
 */
gboolean xr_value_parse(xr_value* value, const char* fmt, ...);

G_END_DECLS

#endif