31 |
IDBOLCKNB |
IDBOLCKNB |
32 |
tcidbclose |
tcidbclose |
33 |
tcidbput |
tcidbput |
34 |
|
tcidbout |
35 |
|
tcidbget |
36 |
|
tcidbsearch |
37 |
|
IDBSSUBSTR |
38 |
|
IDBSPREFIX |
39 |
|
IDBSSUFFIX |
40 |
|
IDBSFULL |
41 |
|
IDBSTOKEN |
42 |
|
IDBSTOKPRE |
43 |
|
IDBSTOKSUF |
44 |
|
tcidbiterinit |
45 |
); |
); |
46 |
|
|
47 |
=head1 NAME |
=head1 NAME |
109 |
|
|
110 |
=head2 tcidbput |
=head2 tcidbput |
111 |
|
|
112 |
my $success = tcidbput( $idb, $id, $utf8_text ); |
my $success = tcidbput( $idb, $id, $text ); |
113 |
|
|
114 |
|
=head2 tcidbout |
115 |
|
|
116 |
|
my $success = tcidbout( $idb, $id ); |
117 |
|
|
118 |
|
=head2 tcidbget |
119 |
|
|
120 |
|
my $text = tcidbget( $idb, $id ); |
121 |
|
|
122 |
|
=head2 tcidbsearch |
123 |
|
|
124 |
|
my @ids = tcidbsearch( $idb, $word, IDBSSUBSTR ) |
125 |
|
|
126 |
|
=cut |
127 |
|
|
128 |
|
use constant { |
129 |
|
IDBSSUBSTR => 0, # substring matching |
130 |
|
IDBSPREFIX => 1, # prefix matching |
131 |
|
IDBSSUFFIX => 2, # suffix matching |
132 |
|
IDBSFULL => 3, # full matching |
133 |
|
IDBSTOKEN => 4, # token matching |
134 |
|
IDBSTOKPRE => 5, # token prefix matching |
135 |
|
IDBSTOKSUF => 6, # token suffix matching |
136 |
|
}; |
137 |
|
|
138 |
|
=head2 tcidbiterinit |
139 |
|
|
140 |
|
my $success = tcidbiterinit; |
141 |
|
|
142 |
|
=cut |
143 |
|
|
144 |
=head1 KNOWN BUGS |
=head1 KNOWN BUGS |
145 |
|
|