Eneboo - Documentación para desarrolladores
Clases | 'defines' | 'typedefs' | Funciones
Referencia del Archivo src/libmysql_std/hash.c
#include "mysys_priv.h"
#include <m_string.h>
#include <m_ctype.h>
#include "hash.h"

Clases

struct  st_hash_info

'defines'

#define NO_RECORD   ((uint) -1)
#define LOWFIND   1
#define LOWUSED   2
#define HIGHFIND   4
#define HIGHUSED   8

'typedefs'

typedef struct st_hash_info HASH_LINK

Funciones

my_bool _hash_init (HASH *hash, CHARSET_INFO *charset, uint size, uint key_offset, uint key_length, hash_get_key get_key, void(*free_element)(void *), uint flags CALLER_INFO_PROTO)
void hash_free (HASH *hash)
void my_hash_reset (HASH *hash)
gptr hash_search (const HASH *hash, const byte *key, uint length)
gptr hash_first (const HASH *hash, const byte *key, uint length, HASH_SEARCH_STATE *current_record)
gptr hash_next (const HASH *hash, const byte *key, uint length, HASH_SEARCH_STATE *current_record)
my_bool my_hash_insert (HASH *info, const byte *record)
my_bool hash_delete (HASH *hash, byte *record)
my_bool hash_update (HASH *hash, byte *record, byte *old_key, uint old_key_length)
bytehash_element (HASH *hash, uint idx)
void hash_replace (HASH *hash, HASH_SEARCH_STATE *current_record, byte *new_row)
my_bool hash_check (HASH *hash)

Documentación de los 'defines'

#define HIGHFIND   4
#define HIGHUSED   8
#define LOWFIND   1
#define LOWUSED   2
#define NO_RECORD   ((uint) -1)

Documentación de los 'typedefs'

typedef struct st_hash_info HASH_LINK

Documentación de las funciones

my_bool _hash_init ( HASH hash,
CHARSET_INFO charset,
uint  size,
uint  key_offset,
uint  key_length,
hash_get_key  get_key,
void(*)(void *)  free_element,
uint flags  CALLER_INFO_PROTO 
)
my_bool hash_check ( HASH hash)
my_bool hash_delete ( HASH hash,
byte record 
)
byte* hash_element ( HASH hash,
uint  idx 
)
gptr hash_first ( const HASH hash,
const byte key,
uint  length,
HASH_SEARCH_STATE current_record 
)
void hash_free ( HASH hash)
gptr hash_next ( const HASH hash,
const byte key,
uint  length,
HASH_SEARCH_STATE current_record 
)
void hash_replace ( HASH hash,
HASH_SEARCH_STATE current_record,
byte new_row 
)
gptr hash_search ( const HASH hash,
const byte key,
uint  length 
)
my_bool hash_update ( HASH hash,
byte record,
byte old_key,
uint  old_key_length 
)
my_bool my_hash_insert ( HASH info,
const byte record 
)
void my_hash_reset ( HASH hash)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'