[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Wed Mar 25 04:06:04 MDT 2015

The branch, master has been updated
       via  5963307 util_tdb: mark tdb_pack() and friends as deprecated
      from  d191436 lib: tdb: Use sigaction when testing for robust mutexes.


- Log -----------------------------------------------------------------
commit 59633070e18109fc33b76bbb29dcd8c41dc40383
Author: David Disseldorp <ddiss at samba.org>
Date:   Tue Mar 24 16:11:05 2015 +0100

    util_tdb: mark tdb_pack() and friends as deprecated
    Following a discussion[1] with Volker, add a note to the tdb_unpack()
    and tdb_pack[_append]() prototypes describing them as deprecated.
    1. https://lists.samba.org/archive/samba-technical/2015-March/106548.html
    Signed-off-by: David Disseldorp <ddiss at samba.org>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Wed Mar 25 11:05:02 CET 2015 on sn-devel-104


Summary of changes:
 source3/include/util_tdb.h | 4 ++++
 1 file changed, 4 insertions(+)

Changeset truncated at 500 lines:

diff --git a/source3/include/util_tdb.h b/source3/include/util_tdb.h
index 13bdeab..80a8cac 100644
--- a/source3/include/util_tdb.h
+++ b/source3/include/util_tdb.h
@@ -32,6 +32,10 @@ int tdb_trans_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf,
 		    int flag);
 int tdb_trans_delete(struct tdb_context *tdb, TDB_DATA key);
+ * The tdb_unpack() and tdb_pack[_append]() helpers are deprecated. Consider
+ * using idl/ndr for marshalling of complex data types instead.
+ */
 int tdb_unpack(const uint8 *buf, int bufsize, const char *fmt, ...);
 size_t tdb_pack(uint8 *buf, int bufsize, const char *fmt, ...);
 bool tdb_pack_append(TALLOC_CTX *mem_ctx, uint8 **buf, size_t *len,

Samba Shared Repository

More information about the samba-cvs mailing list