Added function to handle file or directories.

This commit is contained in:
n-a-c-h
2005-07-10 01:30:07 +00:00
parent 56b58a5efc
commit c78b889ade
2 changed files with 16 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ This is part of a toolkit used to assist in ZSNES development
#include <sys/stat.h>
bool parse_dir(const char *, void (*func)(const char *, struct stat&));
bool parse_path(const char *, void (*func)(const char *, struct stat&));
inline bool extension_match(const char *filename, const char *ext)
{