~ubuntu-branches/debian/sid/dico/sid

« back to all changes in this revision

Viewing changes to lib/bushu.h

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2009-04-03 06:28:25 UTC
  • Revision ID: james.westby@ubuntu.com-20090403062825-n4tbn09hv9ve5s2s
Tags: upstream-2.0
Import upstream version 2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id$
 
2
 */
 
3
 
 
4
#define BushuError -1
 
5
#define BushuStrict 0
 
6
#define BushuAbsolute 1
 
7
#define BushuFuzzy 2
 
8
 
 
9
typedef struct {
 
10
    int type;
 
11
    int bushu;
 
12
    int numstrokes;
 
13
    int off;
 
14
} TempBushu;
 
15
 
 
16
int parse_bushu(char *, TempBushu *);
 
17
int decode_bushu(Matchdir, TempBushu *, Bushu *);
 
18
void format_bushu(char *, int /* radical */ , int /* strokes */);
 
19
 
 
20
extern int bushu_num[];
 
21
extern int bushu_stroke[];
 
22
extern int bushu_var_stroke[];
 
23
extern int bushu_index[];
 
24
extern int bushu_count[];
 
25
extern char bushu_string[][2];
 
26
extern int bushu_last;
 
27
extern int max_bushu_strokes;
 
28
extern int max_bushu_count;