#include <string.h>
#include <stdlib.h>
#include <grass/dbmi.h>
Go to the source code of this file.
Functions | |
char * | db_store (char *s) |
void * | db_malloc (int n) |
void * | db_calloc (int n, int m) |
void * | db_realloc (void *s, int n) |
void * db_calloc | ( | int | n, | |
int | m | |||
) |
Definition at line 48 of file dbmi_base/alloc.c.
References db_memory_error().
Referenced by db__recv_double_array(), db__recv_float_array(), db__recv_int_array(), db__recv_short_array(), db_alloc_cursor_column_flags(), db_alloc_dirent_array(), db_alloc_handle_array(), db_alloc_index_array(), db_alloc_string_array(), and db_alloc_table().
void * db_malloc | ( | int | n | ) |
Definition at line 29 of file dbmi_base/alloc.c.
References db_memory_error().
Referenced by db_alloc_table(), db_d_open_insert_cursor(), db_d_open_select_cursor(), db_d_open_update_cursor(), db_dirent(), db_start_driver(), and db_store().
void * db_realloc | ( | void * | s, | |
int | n | |||
) |
Definition at line 69 of file dbmi_base/alloc.c.
References db_memory_error().
Referenced by db__add_cursor_to_driver_state(), db_enlarge_string(), and db_new_token().
char * db_store | ( | char * | s | ) |
Definition at line 12 of file dbmi_base/alloc.c.
References db_malloc().
Referenced by db_enlarge_string(), db_error(), and db_set_error_who().