From 039ddef20900322760093a04881007dbb0897b50 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 14 Aug 2011 18:10:53 -0400 Subject: util: add function to extend anonymous shared memory --- lib/util/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/util/util.h') diff --git a/lib/util/util.h b/lib/util/util.h index 7f0de26781..0102feaddf 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -852,6 +852,7 @@ bool add_gid_to_array_unique(TALLOC_CTX *mem_ctx, gid_t gid, * Allocate anonymous shared memory of the given size */ void *anonymous_shared_allocate(size_t bufsz); +void *anonymous_shared_resize(void *ptr, size_t new_size, bool maymove); void anonymous_shared_free(void *ptr); /* -- cgit