/[muddleftpd]/muddleftpd/src/myglob.h
ViewVC logotype

Diff of /muddleftpd/src/myglob.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ganneff, Thu Sep 26 07:55:42 2002 UTC revision 1.1.6.1 by ganneff, Mon Oct 21 19:52:59 2002 UTC
# Line 1  Line 1 
1    
2  /* Copyright (C) 1991, 92, 95, 96, 97, 98 Free Software Foundation, Inc.  /* Copyright (C) 1991, 92, 95, 96, 97, 98 Free Software Foundation, Inc.
3    
4     The GNU C Library is free software; you can redistribute it and/or     The GNU C Library is free software; you can redistribute it and/or
# Line 20  Line 21 
21    
22  typedef struct  typedef struct
23  {  {
24      int namecount;              /* Count of paths matched by the pattern.  */          int namecount;                          /* Count of paths matched by the pattern.  */
25      unsigned long blocks;       /* size of directory in blocks */          unsigned long blocks;           /* size of directory in blocks */
26      char **name;                /* List of matched pathnames.  */          char **name;                            /* List of matched pathnames.  */
27      struct stat *stat_buf;      /* file information. */          struct stat *stat_buf;          /* file information. */
28  } MYGLOBDATA;  }
29    MYGLOBDATA;
30  MYGLOBDATA *myglob ( char *dir, char *pattern, int flags, int sortforward );  
31    MYGLOBDATA *myglob(char *dir,
32                                       char *pattern,
33                                       int flags,
34                                       int sortforward);
35    
36  /* Free storage allocated in PGLOB by a previous `glob' call.  */  /* Free storage allocated in PGLOB by a previous `glob' call.  */
37  extern void myglobfree (MYGLOBDATA *g);  extern void myglobfree(MYGLOBDATA * g);
38    
39  extern int my_fnmatch(char *, char *, int);  extern int my_fnmatch(char *,
40                                              char *,
41                                              int);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.6.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26