11#define AFP_LOG_WARNING 2
12#define AFP_LOG_ERROR 3
13#define AFP_LOG_CRITICAL 4
16extern void afp_printf(
int level,
int loglevel,
int color,
const char *fmt,
19#define AFP_PRINTF(level, fmt, ...) afp_printf(level, Loglevel, Color, fmt, ##__VA_ARGS__)
42extern int not_valid(
unsigned int ret,
int mac_error,
int afpd_error);
47 uint32_t parent_did,
char *dirname);
static DSI * dsi
Definition afparg.c:39
int delete_folder(uint16_t vol, int did, char *name)
Definition afphelper.c:564
int read_only_folder_with_file(uint16_t vol, int did, char *name, char *file)
Definition afphelper.c:480
void clear_volume(uint16_t vol, CONN *conn)
Definition afphelper.c:1156
void write_fork(CONN *conn, uint16_t vol, int dir, char *name, char *data)
Definition afphelper.c:138
int read_only_folder(uint16_t vol, int did, char *name)
Definition afphelper.c:401
void afp_printf(int level, int loglevel, int color, const char *fmt,...)
Definition afphelper.c:926
int not_valid(unsigned int ret, int mac_error, int afpd_error)
Definition afphelper.c:723
int get_vol_attrib(uint16_t vol)
Definition afphelper.c:689
int delete_folder_with_file(uint16_t vol, int did, char *name, char *file)
Definition afphelper.c:625
int no_access_folder(uint16_t vol, int did, char *name)
Definition afphelper.c:183
int delete_directory_tree(CONN *conn, uint16_t volume, uint32_t parent_did, char *dirname)
depth-first recursively delete a directory tree
Definition afphelper.c:972
uint32_t get_forklen(DSI *dsi, int type)
Definition afphelper.c:123
void illegal_fork(DSI *dsi, char cmd, char *name)
Definition afphelper.c:16
int group_folder(uint16_t vol, int did, char *name)
Definition afphelper.c:312
unsigned int get_vol_free(uint16_t vol)
Definition afphelper.c:706
void read_fork(CONN *conn, uint16_t vol, int dir, char *name, int len)
Definition afphelper.c:158
int get_did(CONN *conn, uint16_t vol, int dir, char *name)
Definition afphelper.c:75
int not_valid_bitmap(unsigned int ret, unsigned int bitmap, int afpd_error)
Definition afphelper.c:874
int get_fid(CONN *conn, uint16_t vol, int dir, char *name)
Definition afphelper.c:100
int32_t is_there(CONN *conn, uint16_t volume, int32_t did, char *name)
Definition afphelper.c:945
#define data
Definition hash.c:37
cnid_t did
Definition nad_cp.c:92
static enum op type
Definition nad_cp.c:95
static afpvol_t volume
Definition nad_rm.c:46
Definition afpclient.h:211
Definition include/atalk/dsi.h:52
Definition include/atalk/directory.h:62
Definition include/atalk/volume.h:32