mirror of https://github.com/Icinga/icinga2.git
parent
dd200d0937
commit
9f7e5b1845
|
@ -418,7 +418,7 @@ bool Utility::Glob(const String& pathSpec, const boost::function<void (const Str
|
|||
* @param callback The callback which is invoked for each matching file.
|
||||
* @param type The file type (a combination of GlobFile and GlobDirectory)
|
||||
*/
|
||||
bool Utility::GlobRecursive(const String& path, const String& pattern, const boost::function<void (const String&)>& callback, int type)
|
||||
void Utility::GlobRecursive(const String& path, const String& pattern, const boost::function<void (const String&)>& callback, int type)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
HANDLE handle;
|
||||
|
|
|
@ -76,7 +76,7 @@ public:
|
|||
static String NewUniqueID(void);
|
||||
|
||||
static bool Glob(const String& pathSpec, const boost::function<void (const String&)>& callback, int type = GlobFile | GlobDirectory);
|
||||
static bool GlobRecursive(const String& path, const String& pattern, const boost::function<void (const String&)>& callback, int type = GlobFile | GlobDirectory);
|
||||
static void GlobRecursive(const String& path, const String& pattern, const boost::function<void (const String&)>& callback, int type = GlobFile | GlobDirectory);
|
||||
|
||||
static void QueueAsyncCallback(const boost::function<void (void)>& callback);
|
||||
|
||||
|
|
Loading…
Reference in New Issue