30 |
IDBONOLCK |
IDBONOLCK |
31 |
IDBOLCKNB |
IDBOLCKNB |
32 |
tcidbclose |
tcidbclose |
33 |
|
tcidbput |
34 |
); |
); |
35 |
|
|
36 |
=head1 NAME |
=head1 NAME |
43 |
|
|
44 |
=head2 tcidberrmsg |
=head2 tcidberrmsg |
45 |
|
|
46 |
my $message = Search::TokyoDystopia::tcidberrmsg( $ecode ); |
my $message = tcidberrmsg( $ecode ); |
47 |
|
|
48 |
=head2 tcidbnew |
=head2 tcidbnew |
49 |
|
|
50 |
my $idb = Search::TokyoDystopia::tcidbnew; |
my $idb = tcidbnew; |
51 |
|
|
52 |
=head2 tcidbdel |
=head2 tcidbdel |
53 |
|
|
54 |
Search::TokyoDystopia::tcidbdel( $idb ); |
tcidbdel( $idb ); |
55 |
|
|
56 |
=head2 tcidbecode |
=head2 tcidbecode |
57 |
|
|
58 |
my $ecode = Search::TokyoDystopia::tcidbecode( $idb ); |
my $ecode = tcidbecode( $idb ); |
59 |
|
|
60 |
=head2 tcidbtune |
=head2 tcidbtune |
61 |
|
|
62 |
my $success = Search::TokyoDystopia::tcidbtune( $idb, $ernum, $etnum, $iusiz, IDBTLARGE || IDBTDEFLATE ); |
my $success = tcidbtune( $idb, $ernum, $etnum, $iusiz, IDBTLARGE | IDBTDEFLATE ); |
63 |
|
|
64 |
=cut |
=cut |
65 |
|
|
71 |
|
|
72 |
=head2 tcidbsetcache |
=head2 tcidbsetcache |
73 |
|
|
74 |
my $success = Search::TokyoDystopia::tcidbsetcache( $idb, $icsiz, $lcnum ); |
my $success = tcidbsetcache( $idb, $icsiz, $lcnum ); |
75 |
|
|
76 |
=head2 tcidbsetfwmmax |
=head2 tcidbsetfwmmax |
77 |
|
|
78 |
my $success = Search::TokyoDystopia::tcidbsetfwmmax( $idb, $fwnum ); |
my $success = tcidbsetfwmmax( $idb, $fwnum ); |
79 |
|
|
80 |
=head2 tcidbopen |
=head2 tcidbopen |
81 |
|
|
82 |
Search::TokyoDystopia::tcidbopen( $idb, 'casket', IDBOTRUNC ), 1, 'tcidbopen' ); |
my $success = tcidbopen( $idb, 'casket', IDBOWRITER | IDBOCREAT ); |
83 |
|
|
84 |
=cut |
=cut |
85 |
|
|
92 |
IDBOLCKNB => 1 << 5, |
IDBOLCKNB => 1 << 5, |
93 |
}; |
}; |
94 |
|
|
95 |
|
=head2 tcidbclose |
96 |
|
|
97 |
|
my $success = tcidbclose( $idb ); |
98 |
|
|
99 |
|
=head2 tcidbput |
100 |
|
|
101 |
|
my $success = tcidbput( $idb, $id, $utf8_text ); |
102 |
|
|
103 |
=head1 KNOWN BUGS |
=head1 KNOWN BUGS |
104 |
|
|
105 |
Low-level functions often just die when called on invalid (or deleted) database |
Low-level functions often just die when called on invalid (or deleted) database |