Love Hörnquist Åstrand
cf0784bee6
avoid type-punned pointer warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 07:10:45 +00:00
Love Hörnquist Åstrand
44ab849d59
Wrap function call pointer calls in (*func) to avoid macros rewriting
...
open and close.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 07:28:32 +00:00
Love Hörnquist Åstrand
91026474ad
memset hdb_entry_ex before use
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 11:54:10 +00:00
Love Hörnquist Åstrand
0c2369acd0
Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:40:12 +00:00
Love Hörnquist Åstrand
0fa794702c
(hdb_db_create): use calloc to callocate memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:33:24 +00:00
Love Hörnquist Åstrand
8443e8221a
(DB_open): catch errors from the d->open calls instead of letting them
...
slip though to d->cursor. Bug repport from Andrew Bartlett <abartlet@samba.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-09 09:28:39 +00:00
Love Hörnquist Åstrand
d6560fb1ed
(DB_open): in case of error, close database
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 13:41:08 +00:00
Love Hörnquist Åstrand
0e11d3a6ee
(DB_open): correct the check for O_RDONLY
...
From: Chaskiel M Grundman <cg2v@andrew.cmu.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-15 17:45:38 +00:00
Love Hörnquist Åstrand
483b0b78c3
fix all db >= 4.1 cases
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-22 12:48:39 +00:00
Love Hörnquist Åstrand
7ec533b6db
improve readability of ->open ifdef, check if version >= 4.1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-19 02:38:02 +00:00
Love Hörnquist Åstrand
0540f13b86
prefix all struct HDB elements with hdb_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-19 00:25:35 +00:00
Love Hörnquist Åstrand
c0d1c74757
try to include more db headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-29 16:53:37 +00:00
Love Hörnquist Åstrand
32276ee7b7
patch for working with DB4 on heimdal-discuss
...
From: Luke Howard <lukeh@PADL.COM >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-29 16:37:25 +00:00
Assar Westerlund
334c7ffa33
merge of DB-NEW
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-09 08:41:49 +00:00
Assar Westerlund
c7562eda65
add some more error strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-13 06:30:42 +00:00
Assar Westerlund
c7c19f07f3
adapt to new hdb_seal_keys and hdb_unseal_keys
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:24:29 +00:00
Assar Westerlund
29e5e9d37e
always create a cursor with db3. From Derrick J Brashear
...
<shadow@dementia.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-26 10:27:42 +00:00
Assar Westerlund
0aa12ef99f
only use a cursor when needed, from Derrick J Brashear
...
<shadow@dementia.org >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-06 21:40:29 +00:00
Johan Danielsson
bb90aecaee
pass context to seal/unseal_keys
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 13:17:32 +00:00
Assar Westerlund
9ba818277f
bump copyright
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-05 01:09:45 +00:00
Assar Westerlund
f498ac3c40
add berkeley db3 interface. contributed by Derrick J Brashear <shadow@dementia.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-05 01:08:47 +00:00