diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-01-05 20:14:04 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-01-29 11:16:44 +0100 |
commit | ad6ea7b189a467833fcde6a0acdb8ceb7e7198c9 (patch) | |
tree | 5cc61ac45eef75aedaa97753e98c9f6b5cdb6e6c /lib/util/data_blob.h | |
parent | 1c76df6219a4859bc0b7be1e57c1844df78237e7 (diff) | |
download | samba-ad6ea7b189a467833fcde6a0acdb8ceb7e7198c9.tar.gz samba-ad6ea7b189a467833fcde6a0acdb8ceb7e7198c9.tar.xz samba-ad6ea7b189a467833fcde6a0acdb8ceb7e7198c9.zip |
lib/util: remove data_blob_talloc_reference()
We want to avoid the usage of talloc_reference() in Samba.
metze
Diffstat (limited to 'lib/util/data_blob.h')
-rw-r--r-- | lib/util/data_blob.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/util/data_blob.h b/lib/util/data_blob.h index c294533960..83e6cd5f09 100644 --- a/lib/util/data_blob.h +++ b/lib/util/data_blob.h @@ -61,12 +61,6 @@ _PUBLIC_ DATA_BLOB data_blob_named(const void *p, size_t length, const char *nam _PUBLIC_ DATA_BLOB data_blob_talloc_named(TALLOC_CTX *mem_ctx, const void *p, size_t length, const char *name); /** - reference a data blob, to the supplied TALLOC_CTX. - Returns a NULL DATA_BLOB on failure -**/ -_PUBLIC_ DATA_BLOB data_blob_talloc_reference(TALLOC_CTX *mem_ctx, DATA_BLOB *blob); - -/** construct a zero data blob, using supplied TALLOC_CTX. use this sparingly as it initialises data - better to initialise yourself if you want specific data in the blob |