~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/azio.h

  • Committer: Brian Aker
  • Date: 2008-07-06 15:03:34 UTC
  • Revision ID: brian@tangent.org-20080706150334-xv3xa202trvs0712
USE_RAID cleanup, along with ftbench tools.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
34
34
*/
35
35
 
 
36
#ifdef HAVE_MYSQL_CONFIG_H
 
37
#include "../../include/config.h"
 
38
#endif
 
39
 
36
40
#ifndef __AZIO_H__
37
41
#define __AZIO_H__
38
42
 
39
43
/* We currently allow this on all platforms */
40
44
#define AZIO_AIO
41
45
 
42
 
#include <drizzled/global.h>
43
 
#include <libdrizzle/drizzle_com.h>
44
 
#include <mysys/my_sys.h>
45
 
 
46
46
#include <zlib.h>
 
47
#include "my_global.h"
 
48
#include "my_sys.h"
 
49
 
 
50
#include <my_dir.h>
47
51
 
48
52
#ifdef  __cplusplus
49
53
extern "C" {
58
62
#define WATCHPOINT_ERRNO(A) fprintf(stderr, "\nWATCHPOINT %s:%d (%s) %s\n", __FILE__, __LINE__,__func__, strerror(A));A= 0;fflush(stderr);
59
63
 
60
64
/*
61
 
  uint64_t + uint64_t + uint64_t + uint64_t + unsigned char
 
65
  ulonglong + ulonglong + ulonglong + ulonglong + uchar
62
66
*/
63
67
#define AZMETA_BUFFER_SIZE sizeof(uint64_t) \
64
68
  + sizeof(uint64_t) + sizeof(uint64_t) + sizeof(uint64_t) \