vfs_catia: factor out mapping functions
authorRalph Boehme <slow@samba.org>
Wed, 11 Oct 2017 09:35:15 +0000 (11:35 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 13 Oct 2017 15:40:07 +0000 (17:40 +0200)
commitf8bd63e19c8b1c063dd6f41b405d6864a9b546ff
treed3e7fb67ffdf8e377aa9f2ebc4ae1559eadfceb8
parent156015aed0b5a72b2f7150beb5cdaffa32b554e5
vfs_catia: factor out mapping functions

This moves the core mapping functions to a seperate file and makes them
global.

string_replace_init_map() is called to parse a mapping in string and
produce a mapping object that can then be passed to
string_replace_allocate() to do the actual mapping of a string.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13076

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/modules/string_replace.c [new file with mode: 0644]
source3/modules/string_replace.h [new file with mode: 0644]
source3/modules/vfs_catia.c
source3/modules/wscript_build