Part of Netatalk's AppleDouble implementatation. More...
#include <arpa/inet.h>#include <errno.h>#include <stdarg.h>#include <stdlib.h>#include <string.h>#include <sys/param.h>#include <bstrlib.h>#include <atalk/adouble.h>#include <atalk/compat.h>#include <atalk/dsi.h>#include <atalk/ea.h>#include <atalk/errchk.h>#include <atalk/logger.h>#include <atalk/unix.h>#include <atalk/util.h>#include <atalk/volume.h>#include "ad_lock.h"Functions | |
| static int | ad_conv_v22ea_hf (const char *path, const struct stat *sp, const struct vol *vol) |
| static int | ad_conv_v22ea_rf (const char *path, const struct stat *sp, const struct vol *vol) |
| static int | ad_conv_v22ea (const char *path, const struct stat *sp, const struct vol *vol) |
| static int | ad_conv_dehex (const char *path, const struct stat *sp, const struct vol *vol, const char **newpathp) |
| Remove hexencoded dots and slashes (":2e" and ":2f"). | |
| int | ad_convert (const char *path, const struct stat *sp, const struct vol *vol, const char **newpath) |
| AppleDouble and encoding conversion on the fly. | |
Variables | |
| static char | emptyfilad [32] |
| static char | emptydirad [32] |
Part of Netatalk's AppleDouble implementatation.
|
static |
Remove hexencoded dots and slashes (":2e" and ":2f").
|
static |
|
static |
|
static |
| int ad_convert | ( | const char * | path, |
| const struct stat * | sp, | ||
| const struct vol * | vol, | ||
| const char ** | newpath ) |
AppleDouble and encoding conversion on the fly.
| [in] | path | path to file or directory |
| [in] | sp | stat(path) |
| [in] | vol | volume handle |
| [out] | newpath | if encoding changed, new name. Can be NULL. |
|
static |
|
static |