~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/csv/transparent_file.h

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include <sys/types.h>
17
17
#include <sys/stat.h>
18
 
#include <my_dir.h>
19
18
 
20
19
 
21
20
class Transparent_file
22
21
{
23
22
  File filedes;
24
 
  uchar *buff;  /* in-memory window to the file or mmaped area */
 
23
  unsigned char *buff;  /* in-memory window to the file or mmaped area */
25
24
  /* current window sizes */
26
25
  off_t lower_bound;
27
26
  off_t upper_bound;
28
 
  uint buff_size;
 
27
  uint32_t buff_size;
29
28
 
30
29
public:
31
30
 
33
32
  ~Transparent_file();
34
33
 
35
34
  void init_buff(File filedes_arg);
36
 
  uchar *ptr();
 
35
  unsigned char *ptr();
37
36
  off_t start();
38
37
  off_t end();
39
38
  char get_value (off_t offset);