~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/azio.h

  • Committer: Monty Taylor
  • Date: 2008-07-05 22:08:52 UTC
  • mto: This revision was merged to the branch mainline in revision 77.
  • Revision ID: monty@inaugust.com-20080705220852-cqd9t6tfkhvlcf73
Removed HAVE_LONG_LONG, as this is now assumed.

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" {
50
54
#endif
51
 
 
52
55
/* Start of MySQL Specific Information */
53
56
 
54
57
/* Some personal debugging functions */
58
61
#define WATCHPOINT_ERRNO(A) fprintf(stderr, "\nWATCHPOINT %s:%d (%s) %s\n", __FILE__, __LINE__,__func__, strerror(A));A= 0;fflush(stderr);
59
62
 
60
63
/*
61
 
  uint64_t + uint64_t + uint64_t + uint64_t + unsigned char
 
64
  ulonglong + ulonglong + ulonglong + ulonglong + uchar
62
65
*/
63
66
#define AZMETA_BUFFER_SIZE sizeof(uint64_t) \
64
67
  + sizeof(uint64_t) + sizeof(uint64_t) + sizeof(uint64_t) \