~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_sys.h

  • Committer: Brian Aker
  • Date: 2008-07-29 07:47:38 UTC
  • mfrom: (212.6.1 bzero-memset)
  • Revision ID: brian@tangent.org-20080729074738-lfzim6htapm42f2o
MergeĀ fromĀ Mats

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <errno.h>
29
29
#define my_errno (errno)
30
30
 
31
 
#include <my_pthread.h>
 
31
#include <mysys/my_pthread.h>
32
32
 
33
 
#include <m_ctype.h>                    /* for CHARSET_INFO */
 
33
#include <mystrings/m_ctype.h>                    /* for CHARSET_INFO */
34
34
#include <stdarg.h>
35
35
#include <typelib.h>
36
36
 
482
482
#define my_b_bytes_in_cache(info) (size_t) (*(info)->current_end - \
483
483
                                          *(info)->current_pos)
484
484
 
485
 
typedef uint32 ha_checksum;
 
485
typedef uint32_t ha_checksum;
486
486
 
487
487
/* Define the type of function to be passed to process_default_option_files */
488
488
typedef int (*Process_option_func)(void *ctx, const char *group_name,
489
489
                                   const char *option);
490
490
 
491
 
#include <my_alloc.h>
 
491
#include <mysys/my_alloc.h>
492
492
 
493
493
 
494
494
        /* Prototypes for mysys and my_func functions */
808
808
#define MAP_NOSYNC       0x0800
809
809
#define MAP_FAILED       ((void *)-1)
810
810
#define MS_SYNC          0x0000
811
 
 
812
 
#ifndef __NETWARE__
813
811
#define HAVE_MMAP
814
 
#endif
815
812
 
816
813
void *my_mmap(void *, size_t, int, int, int, my_off_t);
817
814
int my_munmap(void *, size_t);