1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/ldb/include
Aaron Haslett ea7fd52a78 ldb: removing alloc from unpack_data
Making unpack flag LDB_UNPACK_DATA_FLAG_NO_DATA_ALLOC required
behaviour, since allocating data during unpack is slow and unnecessary
in all current usages. In any future unpack usage, if editing of
returned memory is required, some function that duplicates the message
should be used, such as one of the filter_attrs functions, or msg_copy.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2019-05-15 04:03:36 +00:00
..
dlinklist.h Revert "ldb:dlinklist: avoid -Wtautological-compare errors with gcc6" 2016-07-15 00:54:12 +02:00
ldb_errors.h ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb_handlers.h ldb: Expose ldb_handler_fold() funcion 2011-07-28 15:20:51 +10:00
ldb_module.h ldb: removing alloc from unpack_data 2019-05-15 04:03:36 +00:00
ldb_private.h ldb_tdb: Read from @INDEXLIST or an override if we are using a GUID index 2017-09-22 21:20:23 +02:00
ldb.h ldb.h: spelling of 'means' 2019-05-10 01:15:17 +00:00