This file is indexed.

/usr/include/iconv_hook/iconv_hook.h is in libiconv-hook-dev 0.0.20021209-11.

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
/* -*- mode: c -*-
 *
 * $Id: iconv_hook.h,v 1.4 2002/06/10 13:57:52 tai Exp $
 *
 */

#ifndef ICONV_HOOK_H
#define ICONV_HOOK_H

#ifdef HAVE_ICONV_H
#include <iconv.h>
#else
typedef void * iconv_t;
#endif

#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>

#ifndef EILSEQ /* Not always defined on all system */
#define EILSEQ -2323
#endif

/*
 * module structure for encoding converter module
 */
typedef struct iconv_hook_module_struct {
  size_t  (*iconv)(iconv_t cd,
		   char **src, size_t *srclen, char **outbuf, size_t *outlen);
  iconv_t (*iconv_open) (const char *ienc, const char *oenc);
  int     (*iconv_close)(iconv_t cd);
} iconv_hook_module;

/* EDITME - declaration for custom module initializer(s) */
extern iconv_hook_module * iconv_hook_ja_auto_init(void);
extern iconv_hook_module * iconv_hook_mssjis_init(void);
extern iconv_hook_module * iconv_hook_eucjp_init(void);
extern iconv_hook_module * iconv_hook_ucs2_cp932_init(void);
extern iconv_hook_module * iconv_hook_utf8_cp932_init(void);
extern iconv_hook_module * iconv_hook_utf8_eucjp_init(void);
extern iconv_hook_module * iconv_hook_default_init(void);

/* EDITME - register above initializer(s) to lookup table */
static iconv_hook_module * (*iconv_hook_module_init[])(void) = {
  iconv_hook_ja_auto_init,
  iconv_hook_mssjis_init,
  iconv_hook_eucjp_init,
  iconv_hook_ucs2_cp932_init,
  iconv_hook_utf8_cp932_init,
  iconv_hook_utf8_eucjp_init,
  iconv_hook_default_init,
  NULL,
};

#endif