util: add function to extend anonymous shared memory
[ira/wip.git] / lib / util / util.h
index 7f0de26781bda2ad73478300f05711bfc8a0f5ce..0102feaddfe54e9906b3dbe7669929f9101fbe64 100644 (file)
@@ -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);
 
 /*