Пример #1
0
/*
  front end routine to the mangled map code 
  personally I think that the whole idea of "mangled map" is completely bogus
*/
void mangle_map_filename(fstring fname, const struct share_params *p)
{
	char *map;

	map = lp_mangled_map(p);
	if (!map || !*map) return;

	mangled_map(fname, map);
}
Пример #2
0
/*
  front end routine to the mangled map code
  personally I think that the whole idea of "mangled map" is completely bogus
*/
void mangle_map_filename(char *fname, int snum)
{
	char *map;

	map = lp_mangled_map(snum);
	if (!map || !*map) return;

	mangled_map(fname, map);
}