]> git.ozlabs.org Git - petitboot/blobdiff - lib/talloc/talloc.h
discover/pxe-parser: Retrieve configs asynchronously
[petitboot] / lib / talloc / talloc.h
index 15a1eb65d0beee4ee09af74cae5e7dc2998b5e6c..b9afc22669f5517df1a01b9dc6106fc792925d3d 100644 (file)
@@ -25,6 +25,7 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <unistd.h>
+#include <sys/types.h>
 
 /* this is only needed for compatibility with the old talloc */
 typedef void TALLOC_CTX;
@@ -132,6 +133,7 @@ void *_talloc_realloc_array(const void *ctx, void *ptr, size_t el_size, unsigned
 void *talloc_realloc_fn(const void *context, void *ptr, size_t size);
 void *talloc_autofree_context(void);
 size_t talloc_get_size(const void *ctx);
+int talloc_reference_count(const void *ptr);
 
 #endif