blob: add a magic offset to nesting cookies to ensure that NULL is never returned...
[project/libubox.git] / blob.h
diff --git a/blob.h b/blob.h
index 846de6e..fa430a8 100644 (file)
--- a/blob.h
+++ b/blob.h
@@ -28,6 +28,8 @@
 
 #include "utils.h"
 
+#define BLOB_COOKIE            0x01234567
+
 enum {
        BLOB_ATTR_UNSPEC,
        BLOB_ATTR_NESTED,