diff options
author | Jeremy Allison <jra@samba.org> | 2007-09-14 17:40:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:06:44 -0500 |
commit | 151f422247e4f9a9645baf639adaf2dbd9557f13 (patch) | |
tree | 0dd652e7eeb08a399f601487ca31e25edb00b9c7 /source4/lib/talloc/talloc.h | |
parent | 803e57da44e826e1adbf5f9743633273285d30f7 (diff) | |
download | samba-151f422247e4f9a9645baf639adaf2dbd9557f13.tar.gz samba-151f422247e4f9a9645baf639adaf2dbd9557f13.tar.bz2 samba-151f422247e4f9a9645baf639adaf2dbd9557f13.zip |
r25164: Add talloc_asprintf_append_buffer() and the docs for it.
Jeremy.
(This used to be commit 5bb8613b86a6788efde840d5b50710f9afd22fed)
Diffstat (limited to 'source4/lib/talloc/talloc.h')
-rw-r--r-- | source4/lib/talloc/talloc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/talloc/talloc.h b/source4/lib/talloc/talloc.h index 15130d0d98..95152a1416 100644 --- a/source4/lib/talloc/talloc.h +++ b/source4/lib/talloc/talloc.h @@ -157,8 +157,10 @@ char *talloc_strndup(const void *t, const char *p, size_t n); char *talloc_append_string(const void *t, char *orig, const char *append); char *talloc_vasprintf(const void *t, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0); char *talloc_vasprintf_append(char *s, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0); +char *talloc_vasprintf_append_buffer(char *s, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0); char *talloc_asprintf(const void *t, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); char *talloc_asprintf_append(char *s, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); +char *talloc_asprintf_append_buffer(char *s, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3); void *_talloc_array(const void *ctx, size_t el_size, unsigned count, const char *name); void *_talloc_zero_array(const void *ctx, size_t el_size, unsigned count, const char *name); void *_talloc_realloc_array(const void *ctx, void *ptr, size_t el_size, unsigned count, const char *name); |