1 #ifndef _TALLOC_EXTRA_H
2 #define _TALLOC_EXTRA_H
10 /* Like talloc_strndup, but take an extra parameter for the internal talloc
11 * name (for debugging) */
14 talloc_strndup_named_const (void *ctx, const char *str,
15 size_t len, const char *name);
17 /* use the __location__ macro from talloc.h to name a string according to its
20 #define talloc_strndup_debug(ctx, str, len) talloc_strndup_named_const (ctx, str, len, __location__)