… | |
… | |
72 | use strict 'vars'; |
72 | use strict 'vars'; |
73 | |
73 | |
74 | use base 'Exporter'; |
74 | use base 'Exporter'; |
75 | |
75 | |
76 | BEGIN { |
76 | BEGIN { |
77 | our $VERSION = '0.6'; |
77 | our $VERSION = '1.0'; |
78 | |
78 | |
79 | our @BDB_REQ = qw( |
79 | our @BDB_REQ = qw( |
80 | db_env_open db_env_close db_env_txn_checkpoint db_env_lock_detect |
80 | db_env_open db_env_close db_env_txn_checkpoint db_env_lock_detect |
81 | db_env_memp_sync db_env_memp_trickle |
81 | db_env_memp_sync db_env_memp_trickle |
82 | db_open db_close db_compact db_sync db_put db_get db_pget db_del db_key_range |
82 | db_open db_close db_compact db_sync db_put db_get db_pget db_del db_key_range |
… | |
… | |
116 | |
116 | |
117 | The C<SV *> types are generic perl scalars (for input and output of data |
117 | The C<SV *> types are generic perl scalars (for input and output of data |
118 | values), and the C<SV *callback> is the optional callback function to call |
118 | values), and the C<SV *callback> is the optional callback function to call |
119 | when the request is completed. |
119 | when the request is completed. |
120 | |
120 | |
121 | The various C<DB_ENV> etc. arguments are handles return by db_env_create>, |
121 | The various C<DB_ENV> etc. arguments are handles return by |
122 | C<C<db_create>, C<txn_begin> and so on. If they have an appended _ornull> |
122 | C<db_env_create>, C<db_create>, C<txn_begin> and so on. If they have an |
123 | C<this means they are optional and you can pass C<undef> for them, |
123 | appended C<_ornull> this means they are optional and you can pass C<undef> |
124 | C<resulting a NULL pointer on the C level. |
124 | for them, resulting a NULL pointer on the C level. |
125 | |
125 | |
126 | =head3 BDB functions |
126 | =head3 BDB functions |
127 | |
127 | |
128 | Functions in the BDB namespace, exported by default: |
128 | Functions in the BDB namespace, exported by default: |
129 | |
129 | |