openenvutils/commandshell/shell/inc/glob.pro
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /* Generated automatically */
       
     2 static void addpath _((char*s,int l));
       
     3 static int statfullpath _((const char*s,struct stat*st,int l));
       
     4 static void insert _((char*s,int checked));
       
     5 static void scanner _((Complist q));
       
     6 static Complist parsecomplist _((char*instr));
       
     7 static Complist parsepat _((char*str));
       
     8 static off_t qgetnum _((char**s));
       
     9 static zlong qgetmodespec _((char**s));
       
    10 static char*get_match_ret _((char*s,int b,int e,int fl,char*replstr));
       
    11 static void set_pat_start _((Patprog p,int offs));
       
    12 static void set_pat_end _((Patprog p,char null_me));
       
    13 static int igetmatch _((char**sp,Patprog p,int fl,int n,char*replstr));
       
    14 static void zshtokenize _((char*s,int shglob));
       
    15 static int qualdev _((UNUSED(char*name),struct stat*buf,off_t dv,UNUSED(char*dummy)));
       
    16 static int qualnlink _((UNUSED(char*name),struct stat*buf,off_t ct,UNUSED(char*dummy)));
       
    17 static int qualuid _((UNUSED(char*name),struct stat*buf,off_t uid,UNUSED(char*dummy)));
       
    18 static int qualgid _((UNUSED(char*name),struct stat*buf,off_t gid,UNUSED(char*dummy)));
       
    19 static int qualisdev _((UNUSED(char*name),struct stat*buf,UNUSED(off_t junk),UNUSED(char*dummy)));
       
    20 static int qualisblk _((UNUSED(char*name),struct stat*buf,UNUSED(off_t junk),UNUSED(char*dummy)));
       
    21 static int qualischr _((UNUSED(char*name),struct stat*buf,UNUSED(off_t junk),UNUSED(char*dummy)));
       
    22 static int qualisdir _((UNUSED(char*name),struct stat*buf,UNUSED(off_t junk),UNUSED(char*dummy)));
       
    23 static int qualisfifo _((UNUSED(char*name),struct stat*buf,UNUSED(off_t junk),UNUSED(char*dummy)));
       
    24 static int qualislnk _((UNUSED(char*name),struct stat*buf,UNUSED(off_t junk),UNUSED(char*dummy)));
       
    25 static int qualisreg _((UNUSED(char*name),struct stat*buf,UNUSED(off_t junk),UNUSED(char*dummy)));
       
    26 static int qualissock _((UNUSED(char*name),struct stat*buf,UNUSED(off_t junk),UNUSED(char*dummy)));
       
    27 static int qualflags _((UNUSED(char*name),struct stat*buf,off_t mod,UNUSED(char*dummy)));
       
    28 static int qualmodeflags _((UNUSED(char*name),struct stat*buf,off_t mod,UNUSED(char*dummy)));
       
    29 static int qualiscom _((UNUSED(char*name),struct stat*buf,UNUSED(off_t mod),UNUSED(char*dummy)));
       
    30 static int qualsize _((UNUSED(char*name),struct stat*buf,off_t size,UNUSED(char*dummy)));
       
    31 static int qualtime _((UNUSED(char*name),struct stat*buf,off_t days,UNUSED(char*dummy)));
       
    32 static int qualsheval _((char*name,UNUSED(struct stat*buf),UNUSED(off_t days),char*str));
       
    33 static int qualnonemptydir _((char*name,struct stat*buf,UNUSED(off_t days),UNUSED(char*str)));