45# define FL_PATH_MAX 2048
70# if defined(__cplusplus)
92# if defined(__cplusplus) && !defined(FL_DOXYGEN)
103# if defined (__cplusplus)
107# if !defined(FL_DOXYGEN)
108FL_EXPORT
int fl_alphasort(
struct dirent **,
struct dirent **);
109FL_EXPORT
int fl_casealphasort(
struct dirent **,
struct dirent **);
116# if defined(__cplusplus)
132FL_EXPORT
int fl_open_uri(
const char *uri,
char *msg = (
char *)0,
int fl_filename_expand(char *to, int tolen, const char *from)
Expands a filename containing shell variables and tilde (~).
Definition filename_expand.cxx:42
#define FL_PATH_MAX
all path buffers should use this length
Definition filename.H:45
int fl_filename_isdir(const char *name)
Determines if a file exists and is a directory from its filename.
Definition filename_isdir.cxx:36
const char * fl_filename_name(const char *filename)
Gets the file name from a path.
Definition Fl.cxx:2089
int fl_filename_list(const char *d, struct dirent ***l, Fl_File_Sort_F *s=fl_numericsort)
Portable and const-correct wrapper for the scandir() function.
Definition filename_list.cxx:68
void fl_decode_uri(char *uri)
Decodes a URL-encoded string.
Definition fl_open_uri.cxx:113
int fl_filename_relative(char *to, int tolen, const char *from)
Makes a filename relative to the current working directory.
Definition filename_absolute.cxx:172
int fl_open_uri(const char *uri, char *msg=(char *) 0, int msglen=0)
Opens the specified Uniform Resource Identifier (URI).
Definition fl_open_uri.cxx:74
int fl_filename_match(const char *name, const char *pattern)
Checks if a string s matches a pattern p.
Definition filename_match.cxx:49
int() Fl_File_Sort_F(struct dirent **, struct dirent **)
File sorting function.
Definition filename.H:114
const char * fl_filename_ext(const char *buf)
Gets the extension of a filename.
Definition filename_ext.cxx:31
char * fl_filename_setext(char *to, int tolen, const char *ext)
Replaces the extension in buf of max.
Definition filename_setext.cxx:38
int fl_filename_absolute(char *to, int tolen, const char *from)
Makes a filename absolute from a relative filename to the current working directory.
Definition filename_absolute.cxx:46
void fl_filename_free_list(struct dirent ***l, int n)
Free the list of filenames that is generated by fl_filename_list().
Definition filename_list.cxx:81
int fl_casenumericsort(struct dirent **A, struct dirent **B)
Compares directory entries alphanumerically (case-insensitive).
Definition numericsort.c:91
int fl_numericsort(struct dirent **A, struct dirent **B)
Compares directory entries alphanumerically (case-sensitive).
Definition numericsort.c:128