Clases |
struct | st_n_isaminfo |
struct | st_n_save_keyseg |
struct | st_n_save_keydef |
struct | st_n_save_recinfo |
struct | st_n_keyseg |
struct | st_n_keydef |
struct | st_decode_tree |
struct | st_n_recinfo |
'defines' |
#define | N_MAXKEY 16 |
#define | N_MAXKEY_SEG 16 |
#define | N_MAX_KEY_LENGTH 256 |
#define | N_MAX_KEY_BUFF (N_MAX_KEY_LENGTH+N_MAXKEY_SEG+sizeof(double)-1) |
#define | N_MAX_POSSIBLE_KEY_BUFF 500+9 |
#define | N_NAME_IEXT ".ISM" |
#define | N_NAME_DEXT ".ISD" |
#define | NI_POS_ERROR (~ (ulong) 0) |
'typedefs' |
typedef struct st_n_isaminfo | N_ISAMINFO |
typedef struct st_n_save_keyseg | N_SAVE_KEYSEG |
typedef struct st_n_save_keydef | N_SAVE_KEYDEF |
typedef struct st_n_save_recinfo | N_SAVE_RECINFO |
typedef struct st_isam_info | N_INFO |
typedef struct st_n_keyseg | N_KEYSEG |
typedef struct st_n_keydef | N_KEYDEF |
typedef struct st_decode_tree | DECODE_TREE |
typedef struct st_n_recinfo | N_RECINFO |
Funciones |
int | nisam_close (struct st_isam_info *file) |
int | nisam_delete (struct st_isam_info *file, const byte *buff) |
struct st_isam_info * | nisam_open (const char *name, int mode, uint wait_if_locked) |
int | nisam_panic (enum ha_panic_function function) |
int | nisam_rfirst (struct st_isam_info *file, byte *buf, int inx) |
int | nisam_rkey (struct st_isam_info *file, byte *buf, int inx, const byte *key, uint key_len, enum ha_rkey_function search_flag) |
int | nisam_rlast (struct st_isam_info *file, byte *buf, int inx) |
int | nisam_rnext (struct st_isam_info *file, byte *buf, int inx) |
int | nisam_rprev (struct st_isam_info *file, byte *buf, int inx) |
int | nisam_rrnd (struct st_isam_info *file, byte *buf, ulong pos) |
int | nisam_rsame (struct st_isam_info *file, byte *record, int inx) |
int | nisam_rsame_with_pos (struct st_isam_info *file, byte *record, int inx, ulong pos) |
int | nisam_update (struct st_isam_info *file, const byte *old, const byte *new_record) |
int | nisam_write (struct st_isam_info *file, const byte *buff) |
int | nisam_info (struct st_isam_info *file, N_ISAMINFO *x, int flag) |
ulong | nisam_position (struct st_isam_info *info) |
int | nisam_lock_database (struct st_isam_info *file, int lock_type) |
int | nisam_create (const char *name, uint keys, N_KEYDEF *keyinfo, N_RECINFO *recinfo, ulong records, ulong reloc, uint flags, uint options, ulong data_file_length) |
int | nisam_extra (struct st_isam_info *file, enum ha_extra_function function) |
ulong | nisam_records_in_range (struct st_isam_info *info, int inx, const byte *start_key, uint start_key_len, enum ha_rkey_function start_search_flag, const byte *end_key, uint end_key_len, enum ha_rkey_function end_search_flag) |
int | nisam_log (int activate_log) |
int | nisam_is_changed (struct st_isam_info *info) |
uint | _calc_blob_length (uint length, const byte *pos) |
Variables |
my_string | nisam_log_filename |
uint | nisam_block_size |
my_bool | nisam_flush |