summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-10-31 11:57:39 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-11-07 14:16:42 +0000
commit41ab92b62fbf029374b89f9d0ddf7578981f37cf (patch)
treefa511f1d5961cf2186460a0c7796aef221d51d89 /source3/include/proto.h
parent4736623c24503b3ca09c76c9dbb134ef833b2f80 (diff)
downloadsamba-41ab92b62fbf029374b89f9d0ddf7578981f37cf.tar.gz
s3:lib: factor out talloc_sub_advanced() from talloc_sub_full()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13745 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e453669b433..332a4132424 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -180,6 +180,10 @@ char *talloc_sub_specified(TALLOC_CTX *mem_ctx,
const char *domain,
uid_t uid,
gid_t gid);
+char *talloc_sub_advanced(TALLOC_CTX *mem_ctx,
+ const char *servicename, const char *user,
+ const char *connectpath, gid_t gid,
+ const char *str);
char *talloc_sub_full(TALLOC_CTX *mem_ctx,
const char *servicename, const char *user,
const char *connectpath, gid_t gid,