This file is indexed.

/usr/share/snmp/mib2c-data/generic-get-decl.m2i is in libsnmp-base 5.4.3~dfsg-2.4ubuntu1.

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
#############################################################  -*- c -*-
## generic include for XXX. Do not use directly.
##
## $Id: generic-get-decl.m2i 9366 2004-02-02 15:56:14Z rstory $
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by $RCSfile$ $Revision: 9366 $ */
@end@
########################################################################
##
@if $m2c_get_use_temp == 1@
    /*
     * Define temporary variable(s). If speed/efficency is an issue,
     * remove this code and deal with the pointer directly.
     * (set $@m2c_get_use_temp = 0 in your conf file to turn off)
     */
@    if $m2c_node_needlength == 1@
    $m2c_decl * $m2c_node_lh;
    size_t $m2c_node_lhs;
@    else@
    $m2c_decl $m2c_node_lh;
@    end@
        
@end@
@if $m2c_node_needlength == 1@
   /** we should have a non-NULL pointer and enough storage */
   netsnmp_assert( (NULL != $m2c_node_param_ref_name) && (NULL != *$m2c_node_param_ref_name));
   netsnmp_assert( NULL != $m2c_node_param_ref_lname );
@else@
   /** we should have a non-NULL pointer */
   netsnmp_assert( NULL != $m2c_node_param_ref_name );
@end@

@if ($m2c_get_use_temp == 1) && ($m2c_node_needlength == 1)@
    $m2c_node_lh = (* $m2c_node_param_ref_name);
    $m2c_node_lhs = (* $m2c_node_param_ref_lname);

@end@
##
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by $RCSfile$ $Revision: 9366 $ */
@end@