cctools
sort_dir.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3 Copyright (C) 2005- The University of Notre Dame
4 This software is distributed under the GNU General Public License.
5 See the file COPYING for details.
6 */
7 
8 #ifndef SORT_DIR_H
9 #define SORT_DIR_H
10 
34 int sort_dir(const char *dirname, char ***list, int (*sort) (const char *a, const char *b));
35 
40 void sort_dir_free(char **list);
41 
42 #endif
void sort_dir_free(char **list)
Free a sorted directory listing.
Definition: list.h:48
int sort_dir(const char *dirname, char ***list, int(*sort)(const char *a, const char *b))
Obtain a sorted directory listing.