-
Notifications
You must be signed in to change notification settings - Fork 1
/
vfufiles.h
61 lines (42 loc) · 1.8 KB
/
vfufiles.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/****************************************************************************
#
# Copyright (c) 1996-2023 Vladi Belperchinov-Shabanski "Cade"
# https://cade.noxrun.com/ <[email protected]> <[email protected]>
# https://cade.noxrun.com/projects/vfu https://github.com/cade-vs/vfu
#
# SEE `README',`LICENSE' OR `COPYING' FILE FOR LICENSE AND OTHER DETAILS!
#
****************************************************************************/
#ifndef _VFUFILES_H_
#define _VFUFILES_H_
#include "vfu.h"
int files_list_count();
int files_list_is_empty( int pos );
TF* files_list_get( int pos );
void files_list_set( int pos, TF* fp );
void files_list_add( TF* fp );
void files_list_trim(); // remove last TF* item
void files_list_del( int pos );
void files_list_pack();
void files_list_clear();
/*###########################################################################*/
const char* file_type_str( mode_t mode, int is_link );
/*###########################################################################*/
void vfu_rescan_files( int a_recursive = 0 );
void vfu_read_files( int a_recursive = 0 );
int vfu_add_file( const char* fname, const struct stat *st, int is_link );
void vfu_read_archive_files( int a_recursive );
void vfu_read_local_files( int a_recursive );
void vfu_read_external_files();
void vfu_read_pszlist_files();
int vfu_fmask_match( const char* fname );
/*###########################################################################*/
void vfu_file_entry_move();
/*###########################################################################*/
int namenumcmp( const char* s1, const char* s2 );
int ficmp(int fn1, TF *f2);
void __vfu_sort(int l, int r);
void vfu_sort_files();
void vfu_arrange_files();
/*###########################################################################*/
#endif //_VFUFILES_H_