Roleback
All checks were successful
Source release / source-package (push) Successful in 52s

This commit is contained in:
Mario Fetka
2026-05-20 14:55:44 +02:00
parent e1509868c3
commit ab0bfa4230
7 changed files with 368 additions and 1103 deletions

View File

@@ -1,34 +1,14 @@
/*
* namedos.h: 08-Aug-96
*
* (C)opyright (C) 1993,1996 Martin Stover, Marburg, Germany
*/
#ifndef _NAMEDOS_H_
#define _NAMEDOS_H_
#if WITH_NAME_SPACE_CALLS
/*
* namedos.h
*
* Centralized DOS 8.3 short-name support for MARS_NWE.
*/
#include "net.h"
#include "nwvolume.h"
#define DOS83_NAME_MAX 13 /* 8 + '.' + 3 + NUL */
int dos83_is_valid_name(const uint8 *name, int options);
int dos83_build_name_in_dir(const char *dir_unix,
const uint8 *src,
uint8 *out,
int out_size,
int options);
int dos83_match_name_in_dir(const char *dir_unix,
const uint8 *unix_name,
const uint8 *dos_pattern,
int options,
uint8 *out_dos_name,
int out_dos_name_size);
int dos83_resolve_component(const char *dir_unix,
const uint8 *dos_name,
uint8 *resolved_name,
int resolved_size,
int options);
void mangle_dos_name(NW_VOL *vol, uint8 *unixname, uint8 *pp);
extern void mangle_dos_name(NW_VOL *vol, uint8 *unixname, uint8 *pp, int len);
extern int fn_dos_match(uint8 *s, uint8 *p, int soptions);
#endif
#endif