~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cached_directory.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 *   Defines the interface to the CachedDirectory class.
26
26
 */
27
27
 
28
 
#ifndef MYSYS_CACHED_DIRECTORY_H
29
 
#define MYSYS_CACHED_DIRECTORY_H
 
28
#ifndef DRIZZLED_CACHED_DIRECTORY_H
 
29
#define DRIZZLED_CACHED_DIRECTORY_H
 
30
 
 
31
#include <dirent.h>
30
32
 
31
33
#include <iostream>
32
34
#include <vector>
33
35
#include <set>
34
36
#include <string>
35
 
#include <dirent.h>
36
 
#include <stdlib.h>
37
 
#include <errno.h>
38
 
 
 
37
#include <cstdlib>
 
38
#include <cerrno>
 
39
 
 
40
#ifdef __cplusplus
 
41
extern "C" {
 
42
#endif
 
43
 
 
44
namespace drizzled
 
45
{
39
46
 
40
47
/**
41
48
 * A utility class to handle processing the entries/files within a directory.
143
150
  bool open(const std::string &in_path, std::set<std::string> &allowable_exts);
144
151
};
145
152
 
146
 
#endif /* MYSYS_CACHED_DIRECTORY_H */
 
153
} /* namespace drizzled */
 
154
 
 
155
#ifdef __cplusplus
 
156
}
 
157
#endif
 
158
 
 
159
#endif /* DRIZZLED_CACHED_DIRECTORY_H */