****************************************************************************/
size_t srvstr_get_path_wcard(TALLOC_CTX *ctx,
- const char *inbuf,
+ const char *base_ptr,
uint16 smb_flags2,
char **pp_dest,
const char *src,
*pp_dest = NULL;
- ret = srvstr_pull_talloc(ctx, inbuf, smb_flags2, pp_dest, src, src_len,
- flags);
+ ret = srvstr_pull_talloc(ctx, base_ptr, smb_flags2, pp_dest, src,
+ src_len, flags);
if (!*pp_dest) {
*err = NT_STATUS_INVALID_PARAMETER;
****************************************************************************/
size_t srvstr_get_path(TALLOC_CTX *ctx,
- const char *inbuf,
+ const char *base_ptr,
uint16 smb_flags2,
char **pp_dest,
const char *src,
NTSTATUS *err)
{
bool ignore;
- return srvstr_get_path_wcard(ctx, inbuf, smb_flags2, pp_dest, src,
+ return srvstr_get_path_wcard(ctx, base_ptr, smb_flags2, pp_dest, src,
src_len, flags, err, &ignore);
}