This file is indexed.

/usr/include/sidl_search_scl.h is in libsidl-dev 1.4.0.dfsg-8.2.

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
/*
 * File:        sidl_search_scl.h
 * Copyright:   (c) 2003 Lawrence Livermore National Security, LLC
 * Revision:    @(#) $Revision: 6171 $
 * Date:        $Date: 2007-10-08 16:39:28 -0700 (Mon, 08 Oct 2007) $
 * Description: Method to search an SCL file for a particular class
 *
 */

#ifndef included_sidl_search_scl_h
#define included_sidl_search_scl_h
#ifdef __cplusplus
extern "C" { /* } */
#endif
#ifndef included_sidl_Scope_IOR_h
#include "sidl_Scope_IOR.h"
#endif
#ifndef included_sidl_Resolve_IOR_h
#include "sidl_Resolve_IOR.h"
#endif

#define sidl_SCL_EXT ".scl"
#define sidl_CCA_EXT ".cca"

/**
 * The SCL entry contains 7 items of interest.
 * 1.   the uri/filename of the shared library
 * 2.   the uri/filename of the SCL file describing the shared library
 * 3.   an optional md5 checksum (as a hexidecimal number in plain text
 * 4.   an optional SHA1 checksum (as a hexidecimal number in plain text
 * 5.   whether the file should be loaded NOW or LAZY.
 * 6.   whether the file should be loaded local or global.
 * Optional entries may be NULL to indicate they aren't available.
 */
struct sidl_scl_entry {
  const char              *d_uri; /* uri or filename */
  const char              *d_scl; /* uri or filename for SCL file */
  const char              *d_md5; /* md5 checksum */
  const char              *d_sha1; /* sha1 checksum */
  enum sidl_Resolve__enum  d_resolve; /* now or lazy */
  enum sidl_Scope__enum    d_scope; /* local or global */
};

/**
 * Parse an SCL file or directory containing SCL files
 * and search for a particular class.
 * 
 * classname  the sidl type being sought
 * target     the type of entry being sought. Usually, this is
 *            "ior/impl" which searches for a shared library
 *            containing the IOR and implementation. "java" searches
 *            for Java client bindings. "python/impl" searches
 *            for the Python skeletons & impls.
 * filename   the SCL file's name or a directory name
 *
 * RETURN VALUE
 * A malloc'ed struct sidl_scl_entry or NULL to indicate
 * failure. The client is responsible for calling sidl_destroy_scl on
 * non-NULL return values.
 *
 * ISSUES
 * If an SCL file has more than one library entry that
 * provide instances of classname, this function will
 * issue a warning message for each duplicate and
 * return the first.
 */
struct sidl_scl_entry *
sidl_search_scl(/* in  */ const char *classname,
                /* in  */ const char *target,
                /* in  */ const char *filename);

/**
 * Deallocate all memory associated with ent.
 * Passing in NULL is safe.
 */
void
sidl_destroy_scl(struct sidl_scl_entry *ent);


/**
 * Report duplicate library providing a class to stderr.
 */
void
sidl_scl_reportDuplicate(const char                  *classname,
                         const struct sidl_scl_entry *duplicate,
                         const struct sidl_scl_entry *first);

#ifdef __cplusplus
}
#endif
#endif /*  included_sidl_search_scl_h */