This file is indexed.

/usr/share/gocode/src/github.com/google/cups-connector/snmp/snmp.h is in google-cloud-print-connector 0.0~git20151105.24.1902938-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
/*
Copyright 2015 Google Inc. All rights reserved.

Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file or at
https://developers.google.com/open-source/licenses/bsd
*/

#include <stddef.h> // size_t
#include <stdio.h>  // asprintf
#include <stdlib.h> // calloc, realloc, free
#include <string.h> // memmove

#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>

struct oid_value {
	struct oid_value *next;
	oid              *name;
	size_t           name_length;
	char             *value;
};

struct bulkwalk_response {
	struct oid_value *ov_root;
	char             **errors;
	size_t           errors_len;
};

void initialize();
struct bulkwalk_response *bulkwalk(char *peername, char *community);