19 lines
633 B
C
19 lines
633 B
C
#include <curses.h>
|
|
#include <dirent.h>
|
|
#include "defines.h"
|
|
#ifndef SORTING_GUARD
|
|
#define SORTING_GUARD
|
|
#include "sorting.c"
|
|
#endif
|
|
|
|
int skip_hidden_files(const struct dirent *entry);
|
|
int skip_dot(const struct dirent *entry);
|
|
void sort_dir(unsigned long *dir_length_width, char *dir_content);
|
|
void sort_dir(unsigned long *dir_length_width, char *dir_content);
|
|
int sort_natural(const void *file0, const void *file1);
|
|
int sort_alpha(const void *file0, const void *file1);
|
|
int sort_random(const void *file0, const void *file1);
|
|
int sort_type(const void *file0, const void *file1);
|
|
int sort_size(const void *file0, const void *file1);
|
|
|