#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
#include <pwd.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <atalk/adouble.h>
#include <atalk/cnid.h>
#include "nad.h"
Macros | |
#define | ADv2_DIRNAME ".AppleDouble" |
#define | DIR_DOT_OR_DOTDOT(a) |
#define | TYPE(b) |
#define | MODE(b) |
Functions | |
static void | sig_handler (int signo _U_) |
static void | set_signal (void) |
static const char * | check_netatalk_dirs (const char *name) |
static void | usage_ls (void) |
static void | print_numlinks (const struct stat *statp) |
static void | print_owner (const struct stat *statp) |
static void | print_group (const struct stat *statp) |
static void | print_size (const struct stat *statp) |
static void | print_date (const struct stat *statp) |
static void | print_flags (char *path, afpvol_t *vol, const struct stat *st) |
static void | print_mode (const struct stat *st) |
static int | ad_print (char *path, const struct stat *st, afpvol_t *vol) |
static int | ad_ls_r (char *path, afpvol_t *vol) |
int | ad_ls (int argc, char **argv, AFPObj *obj) |
Variables | |
static volatile sig_atomic_t | alarmed |
static int | ls_a |
static int | ls_l |
static int | ls_R |
static int | ls_d |
static int | ls_u |
static int | first = 1 |
static int | recursion |
static char * | netatalk_dirs [] |
static char * | labels [] |
#define ADv2_DIRNAME ".AppleDouble" |
#define DIR_DOT_OR_DOTDOT | ( | a | ) |
#define MODE | ( | b | ) |
#define TYPE | ( | b | ) |
int ad_ls | ( | int | argc, |
char ** | argv, | ||
AFPObj * | obj ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |