This file is indexed.

/usr/include/wnn/jlib.h is in libwnn-dev 1.1.1~a021+cvs20130302-5build1.

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
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*
 *  $Id: jlib.h,v 1.3 2001/06/14 18:15:59 ura Exp $
 */

/*
 * FreeWnn is a network-extensible Kana-to-Kanji conversion system.
 * This file is part of FreeWnn.
 * 
 * Copyright Kyoto University Research Institute for Mathematical Sciences
 *                 1987, 1988, 1989, 1990, 1991, 1992
 * Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
 * Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
 * Copyright FreeWnn Project 1999, 2000
 *
 * Maintainer:  FreeWnn Project   <freewnn@tomo.gr.jp>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

/*
        Nihongo Henkan  Library Header File
*/

#include <setjmp.h>

#define w_char  unsigned short
#ifndef WCHAR_T
#define wchar_t w_char
#define wchar   w_char
#define WCHAR_T
#endif

#define JLIB

/* header file for dic_syurui */
#define NO_EXIST        -1
#define NOT_A_JISHO     0
#define USER_DIC        1
#define SYSTEM_DIC      3

extern jmp_buf jd_server_dead_env;      /* ¥µ¡¼¥Ð¤¬»à¤ó¤À»þ¤ËÈô¤ó¤Ç¤¤¤¯env */
extern int jd_server_dead_env_flg;      /* jd_server_dead_env¤¬Í­¸ú¤«Èݤ«  */
extern int wnn_errorno;         /* Wnn¤Î¥¨¥é¡¼¤Ï¤³¤ÎÊÑ¿ô¤ËÊó¹ð¤µ¤ì¤ë */


struct kouho_entry
{
  int s_ichi;                   /*      ¤«¤Ê¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥ª¥Õ¥»¥Ã¥È      */
  int jl;                       /*      ¼«Î©¸ì¤ÎŤµ                    */
  int fl;                       /*      ÉÕ°¸ì¤ÎŤµ                    */
  int pl;                       /*      ¥Ç¥£¥¹¥×¥ì¥¤»þ¤ÎŤµ            */
  int jishono;                  /*      ¼«Î©¸ì¤Î¼­½ñÈÖ¹æ                */
  int serial;                   /*      ¼«Î©¸ì¤ÎÈÖ¹æ                    */
  w_char *k_data;               /*      ´Á»ú¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥Ý¥¤¥ó¥¿        */
};
#define KOUHO_ENT       struct  kouho_entry


struct jikouho_entry
{
  int jl;                       /*      ¼«Î©¸ì¤ÎŤµ                    */
  int jishono;                  /*      ¼«Î©¸ì¤Î¼­½ñÈÖ¹æ                */
  int serial;                   /*      ¼«Î©¸ì¤ÎÈÖ¹æ                    */
  w_char *k_data;               /*      ´Á»ú¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥Ý¥¤¥ó¥¿        */
};
#define JIKOUHO_ENT     struct  jikouho_entry


struct bunjoho
{
  w_char *kana_buf;             /*      ¤«¤Ê¥Ð¥Ã¥Õ¥¡                    */
  int kana_size;                /*      ¤«¤Ê¥Ð¥Ã¥Õ¥¡¤ÎŤµ              */
  KOUHO_ENT *klist;             /*      ¸õÊä¥ê¥¹¥È¡¦¥Ð¥Ã¥Õ¥¡            */
  int klist_size;               /*      ¸õÊä¥ê¥¹¥È¡¦¥Ð¥Ã¥Õ¥¡¤ÎŤµ      */
  w_char *kanji_buf;            /*      ´Á»ú¥Ð¥Ã¥Õ¥¡                    */
  int kanji_buf_size;           /*      ´Á»ú¥Ð¥Ã¥Õ¥¡ ¤ÎŤµ             */
};


struct jikouhojoho
{
  JIKOUHO_ENT *jlist;           /*      ¼¡¸õÊä¥Ð¥Ã¥Õ¥¡                  */
  int jlist_size;               /*      ¼¡¸õÊä¥Ð¥Ã¥Õ¥¡¤ÎŤµ            */
  w_char *kanji_buf;            /*      ´Á»ú¥Ð¥Ã¥Õ¥¡                    */
  int kanji_buf_size;           /*      ´Á»ú¥Ð¥Ã¥Õ¥¡¤ÎŤµ              */
};
#define JIKOUHOJOHO     struct  jikouhojoho


struct jishojoho
{
  w_char *k_data;               /*      ´Á»ú¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥Ý¥¤¥ó¥¿        */
  int bumpo;                    /*      ʸˡ¾ðÊó                        */
  int hindo;                    /*      ÉÑÅÙ                            */
  int jisho;                    /*      ¼­½ñÈÖ¹æ                        */
  int serial;                   /*      ¹àÌÜÈÖ¹æ                        */
};
#define JISHOJOHO       struct  jishojoho


struct dicinfo
{
  int dic_no;                   /*      ¼­½ñÈÖ¹æ                        */
  int dic_size;                 /*      ñ¸ì¿ô                          */
  int ttl_hindo;                /*      ÉÑÅÙÁí¿ô                        */
  int dic_type;                 /*      1:¥æ¡¼¥¶,2:¥·¥¹¥Æ¥à             */
  int udp;                      /*      0:»ÈÍÑÃæ¤Ç¤Ê¤¤,1:»ÈÍÑÃæ         */
  int prio;                     /*      ¼­½ñ¥×¥é¥¤¥ª¥ê¥Æ¥£              */
  int rdonly;                   /*      0:¥é¥¤¥È²Äǽ,1:¥ê¡¼¥É¥ª¥ó¥ê¡¼   */
  char *file_name;              /*      ¼­½ñ¥Õ¥¡¥¤¥ë̾                  */
  char *h_file_name;            /*      ÉÑÅÙ¥Õ¥¡¥¤¥ë̾                  */
};
#define DICINFO         struct  dicinfo


struct jwho
{
  int sd;                       /* socket discripter in jserver */
  char *user_name;              /* user name */
  char *host_name;              /* host name */
};
#define JWHO            struct jwho