From 348be5f1e44c0b17ff87a8964a36e83b291a6518 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 12 Oct 2008 01:46:15 +0200 Subject: Share data_blob implementation. --- lib/util/data_blob.c | 2 ++ lib/util/data_blob.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'lib/util') 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_ */ -- cgit