/* SPDX-License-Identifier: GPL-2.0-only */ /* * This file is part of mars_nwe. * * Copyright (C) 1993-2000 Martin Stover, Marburg, Germany * Copyright (C) 2026 Mario Fetka * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 only. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ /* * namedos.h: DOS namespace helpers for mars_nwe */ #ifndef _NAMEDOS_H_ #define _NAMEDOS_H_ #if WITH_NAME_SPACE_CALLS extern int dos_is_83_name(uint8 *name, int options); extern int build_dos_83_alias(int options, uint8 *parent_unix, uint8 *real_name, ino_t inode, uint8 *alias, int alias_len); extern void mangle_dos_name(NW_VOL *vol, uint8 *unixname, uint8 *pp, int len); #endif #endif