~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_dir.h

  • Committer: Monty Taylor
  • Date: 2008-08-16 21:06:22 UTC
  • Revision ID: monty@inaugust.com-20080816210622-zpnn13unyinqzn72
Updated po files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef MY_DIR_H
23
23
#define MY_DIR_H
24
24
 
25
 
#include <drizzled/definitions.h>
26
25
#include <sys/stat.h>
27
26
 
28
27
#define MY_DONT_SORT    512     /* my_lib; Don't sort files */
38
37
typedef struct st_my_dir        /* Struct returned from my_dir */
39
38
{
40
39
  /*
41
 
    These members are just copies of parts of DYNAMIC_ARRAY structure,
 
40
    These members are just copies of parts of DYNAMIC_ARRAY structure, 
42
41
    which is allocated right after the end of MY_DIR structure (MEM_ROOT
43
42
    for storing names is also resides there). We've left them here because
44
43
    we don't want to change code that uses my_dir.
47
46
  uint                  number_off_files;
48
47
} MY_DIR;
49
48
 
50
 
extern MY_DIR *my_dir(const char *path, myf MyFlags);
 
49
extern MY_DIR *my_dir(const char *path,myf MyFlags);
51
50
extern void my_dirend(MY_DIR *buffer);
52
51
 
53
52
#endif /* MY_DIR_H */