File: dict-private.h

package info (click to toggle)
libchewing 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 14,220 kB
  • ctags: 10,179
  • sloc: ansic: 103,539; sh: 11,563; makefile: 316; python: 98
file content (32 lines) | stat: -rw-r--r-- 748 bytes parent folder | download
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
/**
 * dict-private.h
 *
 * Copyright (c) 2008
 *	libchewing Core Team. See ChangeLog for details.
 *
 * See the file "COPYING" for information on usage and redistribution
 * of this file.
 */

/* *INDENT-OFF* */
#ifndef _CHEWING_DICT_PRIVATE_H
#define _CHEWING_DICT_PRIVATE_H
/* *INDENT-ON* */

#include "chewing-private.h"

#ifndef SEEK_SET
#    define SEEK_SET 0
#endif

#define PHONE_PHRASE_NUM (162244)

int GetCharFirst(ChewingData *, Phrase *, uint16_t);
int GetPhraseFirst(ChewingData *pgdata, Phrase *phr_ptr, const TreeType *phrase_parent);
int GetVocabNext(ChewingData *pgdata, Phrase *phr_ptr);
int InitDict(ChewingData *pgdata, const char *prefix);
void TerminateDict(ChewingData *pgdata);

/* *INDENT-OFF* */
#endif
/* *INDENT-ON* */