1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source4/lib/tdb
Simo Sorce 5c95905871 r11567: Ldb API change patch.
This patch changes the way lsb_search is called and the meaning of the returned integer.
The last argument of ldb_search is changed from struct ldb_message to struct ldb_result
which contains a pointer to a struct ldb_message list and a count of the number of messages.
The return is not the count of messages anymore but instead it is an ldb error value.

I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good
amount of places. I also tried to double check all my changes being sure that the calling
functions would still behave as before. But this patch is big enough that I fear some bug
may have been introduced anyway even if it passes the test suite. So if you are currently
working on any file being touched please give it a deep look and blame me for any error.

Simo.
(This used to be commit 22c8c97e6f)
2007-10-10 13:45:53 -05:00
..
common r10891: I noticed that the secrets.db was not being backed up on my system due 2007-10-10 13:39:40 -05:00
docs r10421: following on discussions with simo, I have worked out a way of 2007-10-10 13:38:44 -05:00
include r11567: Ldb API change patch. 2007-10-10 13:45:53 -05:00
tools r10475: make sure we report failures in tdbtorture (ie. get the exit status right) 2007-10-10 13:38:51 -05:00
aclocal.m4 r10466: work around missing pread/pwrite declaration on openbsd 2007-10-10 13:38:49 -05:00
autogen.sh r10253: a fairly large tdb cleanup and re-organise. Nearly all of this change 2007-10-10 13:38:12 -05:00
config.m4 r11304: Add support back in for loading shared modules (not used yet) 2007-10-10 13:45:16 -05:00
config.mk r11303: Support defining and installing public headers for libraries. 2007-10-10 13:45:16 -05:00
configure.in r10484: try to fix the pread/pwrite declaration problems 2007-10-10 13:38:53 -05:00
Makefile.in r10462: cope better with compilers that don't put the object file in the same directory 2007-10-10 13:38:49 -05:00
tdb.pc.in r6487: Use autoconf for standalone build of tdb 2007-10-10 13:16:19 -05:00