diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-12 01:46:15 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-12 01:46:15 +0200 |
commit | 348be5f1e44c0b17ff87a8964a36e83b291a6518 (patch) | |
tree | ba17e6f8898397238f9da4eaacbc2e4a01646619 /lib/util | |
parent | 218f482fbfe96b2cddec8c05f6b8f174481d2e27 (diff) | |
download | samba-348be5f1e44c0b17ff87a8964a36e83b291a6518.tar.gz samba-348be5f1e44c0b17ff87a8964a36e83b291a6518.tar.bz2 samba-348be5f1e44c0b17ff87a8964a36e83b291a6518.zip |
Share data_blob implementation.
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/data_blob.c | 2 | ||||
-rw-r--r-- | lib/util/data_blob.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/util/data_blob.c b/lib/util/data_blob.c index 57b34b7ae7..1b2f05528b 100644 --- a/lib/util/data_blob.c +++ b/lib/util/data_blob.c @@ -20,6 +20,8 @@ #include "includes.h" +const DATA_BLOB data_blob_null = { NULL, 0 }; + /** * @file * @brief Manipulation of arbitrary data blobs diff --git a/lib/util/data_blob.h b/lib/util/data_blob.h index e9dca67772..58c1117f1d 100644 --- a/lib/util/data_blob.h +++ b/lib/util/data_blob.h @@ -120,4 +120,6 @@ _PUBLIC_ bool data_blob_realloc(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, size_t len _PUBLIC_ bool data_blob_append(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, const void *p, size_t length); +extern const DATA_BLOB data_blob_null; + #endif /* _SAMBA_DATABLOB_H_ */ |