summaryrefslogtreecommitdiff
path: root/source3/include/talloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/talloc.h')
-rw-r--r--source3/include/talloc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/talloc.h b/source3/include/talloc.h
index 8e20cc028a..fb2fb6a0c3 100644
--- a/source3/include/talloc.h
+++ b/source3/include/talloc.h
@@ -42,4 +42,12 @@ typedef struct {
char *name;
} TALLOC_CTX;
+TALLOC_CTX *talloc_init_named(char const *fmt, ...) PRINTF_ATTRIBUTE(1, 2);
+
+char *talloc_vasprintf(TALLOC_CTX *t, const char *fmt, va_list ap)
+ PRINTF_ATTRIBUTE(2, 0);
+
+char *talloc_asprintf(TALLOC_CTX *t, const char *fmt, ...)
+ PRINTF_ATTRIBUTE(2, 3);
+
#endif