ndb_global.h File Reference

#include <ndb_types.h>
#include <my_global.h>
#include <my_alarm.h>
#include <m_string.h>
#include <m_ctype.h>
#include <ctype.h>
#include <assert.h>
#include "ndb_init.h"

Go to the source code of this file.

Defines

#define DIR_SEPARATOR   "/"
#define NDB_PORT   "1186"
#define NDB_TCP_BASE_PORT   "@ndb_port_base@"
#define STATIC_CONST(x)   static const Uint32 x

Functions

int strcasecmp (const char *s1, const char *s2)
char * strdup (const char *s)
int strncasecmp (const char *s1, const char *s2, size_t n)

Variables

static const char table_name_separator = '/'


Define Documentation

#define DIR_SEPARATOR   "/"
 

Definition at line 36 of file ndb_global.h.

Referenced by Filename::directory(), get_and_validate_path(), Filename::init(), NdbConfig_AllocHomePath(), AsyncFile::rmrfReq(), and Filename::set().

#define NDB_PORT   "1186"
 

Definition at line 22 of file ndb_global.h.

Referenced by fixShmUniqueId(), LocalConfig::init(), LocalConfig::parseHostName(), and LocalConfig::printUsage().

#define NDB_TCP_BASE_PORT   "@ndb_port_base@"
 

Definition at line 23 of file ndb_global.h.

Referenced by add_server_ports(), and fixPortNumber().

#define STATIC_CONST x   )     static const Uint32 x
 

Definition at line 114 of file ndb_global.h.


Function Documentation

int strcasecmp const char *  s1,
const char *  s2
 

char* strdup const char *  s  ) 
 

Definition at line 22 of file strdup.c.

References malloc.

00022                      {
00023   void *p2;
00024   if ((p2 = malloc(strlen(s)+1)))
00025     strcpy(p2, s);
00026   return p2;
00027 }

int strncasecmp const char *  s1,
const char *  s2,
size_t  n
 


Variable Documentation

const char table_name_separator = '/' [static]
 

Definition at line 109 of file ndb_global.h.

Referenced by Ndb::externalizeIndexName(), Ndb::externalizeTableName(), Ndb::getDatabaseFromInternalName(), Ndb::getSchemaFromInternalName(), Ndb::internalize_index_name(), and NdbImpl::update_prefix().


Generated on Wed Jul 20 21:09:33 2005 for MySQL 5.0.9 Beta by  doxygen 1.4.3