diff options
author | Simo Sorce <idra@samba.org> | 2011-08-14 18:10:53 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-14 20:19:02 -0400 |
commit | 039ddef20900322760093a04881007dbb0897b50 (patch) | |
tree | ca79b916a5d2c459bd4e5ff4db664be4024bd55d /lib/util/util.h | |
parent | a171938408adde0d787b9ff40a4cebeee66d747a (diff) | |
download | samba-039ddef20900322760093a04881007dbb0897b50.tar.gz samba-039ddef20900322760093a04881007dbb0897b50.tar.bz2 samba-039ddef20900322760093a04881007dbb0897b50.zip |
util: add function to extend anonymous shared memory
Diffstat (limited to 'lib/util/util.h')
-rw-r--r-- | lib/util/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); /* |