#include <stdlib.h>#include <string.h>#include <unistd.h>#include <atalk/adouble.h>#include <atalk/cnid.h>#include <atalk/globals.h>#include <atalk/logger.h>#include "directory.h"#include "volume.h"Go to the source code of this file.
Macros | |
| #define | MANGLE_CHAR '#' |
| #define | MAX_MANGLE_SUFFIX_LENGTH 999 |
| #define | MAX_EXT_LENGTH 5 |
| #define | MANGLE_LENGTH 9 |
| #define | MAX_LENGTH MACFILELEN |
Functions | |
| char * | mangle (const struct vol *, char *, size_t, char *, cnid_t, int) |
| char * | demangle (const struct vol *, char *, cnid_t did) |
| char * | demangle_osx (const struct vol *, char *, cnid_t did, cnid_t *fileid) |
| #define MANGLE_CHAR '#' |
| #define MANGLE_LENGTH 9 |
#ffffffff This really can't be changed.
| #define MAX_EXT_LENGTH 5 |
XXX This cannot be greater than 27
| #define MAX_LENGTH MACFILELEN |
| #define MAX_MANGLE_SUFFIX_LENGTH 999 |
|
extern |
|
extern |
Early Mac OS X (10.0-10.4.?) had the limitation up to 255 Byte. Current implementation is: volcharset -> UTF16-MAC -> truncated 255 UTF8-MAC
Recent Mac OS X (10.4.?-) don't have this limitation. Desirable implementation is: volcharset -> truncated 510 UTF16-MAC -> UTF8-MAC