diff options
author | Ralph Boehme <slow@samba.org> | 2019-10-31 12:45:44 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-11-07 14:16:41 +0000 |
commit | 4736623c24503b3ca09c76c9dbb134ef833b2f80 (patch) | |
tree | 3e7c048663f78bc497ad8080fb1e3e2c5eb57e25 /source3/include/proto.h | |
parent | a591de28659919d2afd7ed55106cded6a0d9ab35 (diff) | |
download | samba-4736623c24503b3ca09c76c9dbb134ef833b2f80.tar.gz |
s3: rename talloc_sub_advanced() to talloc_sub_full()
We currently have the following substitution functions:
talloc_sub_basic()
talloc_sub_advanced()
talloc_sub_basic() currently substitutes a subset of talloc_sub_advanced().
We'll need a function X that only substitutes what talloc_sub_advanced()
substitutes *without* what talloc_sub_basic() does.
To get there rename talloc_sub_advanced() to talloc_sub_full(). A subsequent
commit will then bring back talloc_sub_advanced() as described above.
Examples with fictional replacement letters A and B. Currently:
talloc_sub_basic: A
talloc_sub_advanced: AB
New:
talloc_sub_basic: A
talloc_sub_advanced: B
talloc_sub_full: AB
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 856b41272ad..e453669b433 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -180,7 +180,7 @@ 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, +char *talloc_sub_full(TALLOC_CTX *mem_ctx, const char *servicename, const char *user, const char *connectpath, gid_t gid, const char *smb_name, const char *domain_name, |