#include <errno.h>#include <stdio.h>#include "adoublehelper.h"#include "afpclient.h"#include "afpcmd.h"#include "testhelper.h"Functions | |
| int | delete_unix_md (char *path, char *name, char *file) |
| int | delete_unix_rf (char *path, char *name, char *file) |
| int | delete_unix_file (char *path, char *name, char *file) |
| int | rename_unix_file (char *path, char *dir, char *src, char *dst) |
| int | unlink_unix_file (char *path, char *name, char *file) |
| int | symlink_unix_file (char *target, char *path, char *source) |
| int | delete_unix_adouble (char *path, char *name) |
| static int | chmod_unix_adouble (char *path, char *name, int mode) |
| int | chmod_unix_meta (char *path, char *name, char *file, mode_t mode) |
| int | chmod_unix_rfork (char *path, char *name, char *file, mode_t mode) |
| int | delete_unix_dir (char *path, char *name) |
| int | folder_with_ro_adouble (uint16_t vol, int did, char *name, char *file) |
| int | delete_ro_adouble (uint16_t vol, int did, char *file) |
Variables | |
| static char | temp [MAXPATHLEN] |
| static char | temp1 [MAXPATHLEN] |
|
static |
chmod .AppleDouble directory
| int chmod_unix_meta | ( | char * | path, |
| char * | name, | ||
| char * | file, | ||
| mode_t | mode ) |
| int chmod_unix_rfork | ( | char * | path, |
| char * | name, | ||
| char * | file, | ||
| mode_t | mode ) |
| int delete_ro_adouble | ( | uint16_t | vol, |
| int | did, | ||
| char * | file ) |
| int delete_unix_adouble | ( | char * | path, |
| char * | name ) |
Delete metadata of directory
| int delete_unix_dir | ( | char * | path, |
| char * | name ) |
delete an empty directory
| int delete_unix_file | ( | char * | path, |
| char * | name, | ||
| char * | file ) |
delete a file
| int delete_unix_md | ( | char * | path, |
| char * | name, | ||
| char * | file ) |
delete metadata
| int delete_unix_rf | ( | char * | path, |
| char * | name, | ||
| char * | file ) |
delete a resource fork
| int folder_with_ro_adouble | ( | uint16_t | vol, |
| int | did, | ||
| char * | name, | ||
| char * | file ) |
create a folder with r-xr-xr-x .AppleDouble
| int rename_unix_file | ( | char * | path, |
| char * | dir, | ||
| char * | src, | ||
| char * | dst ) |
Rename a file and its resource fork
| int symlink_unix_file | ( | char * | target, |
| char * | path, | ||
| char * | source ) |
| int unlink_unix_file | ( | char * | path, |
| char * | name, | ||
| char * | file ) |
unlink file only, dont care about adouble file
|
static |
|
static |