#ifndef _FILES_H_
#define _FILES_H_ 1
#include "String.h"
class Files {
public:
	enum Types { File	= 0x1,
		     Dir	= 0x2,
		     Link	= 0x4,
		     CharDevice	= 0x8,
		     BlockDevice= 0x10,
		     Device	= CharDevice | BlockDevice,
		     Fifo	= 0x20,
		     Socket	= 0x40,
		     All	= File | Dir | Link | Device | Fifo | Socket,
		     Any	= All
	};
	static StringList &glob(String name, enum Types types=All, bool dotfiles=true, bool braces=true);
};
#endif
