GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <string.h>
#include <stdlib.h>
#include <grass/dbmi.h>
Go to the source code of this file.
Functions | |
char * | db_store (const char *s) |
void * | db_malloc (int n) |
void * | db_calloc (int n, int m) |
void * | db_realloc (void *s, int n) |
void | db_free (void *s) |
Definition at line 45 of file db/dbmi_base/alloc.c.
References db_memory_error(), NULL, and dialogs::s.
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_free | ( | void * | s | ) |
Definition at line 84 of file db/dbmi_base/alloc.c.
References free().
Referenced by db__close_all_cursors(), db__mark_database_closed(), db_alloc_table(), db_CatValArray_free(), db_d_close_cursor(), db_dirent(), db_error(), db_free_cursor_column_flags(), db_free_dbmscap(), db_free_dirent_array(), db_free_handle_array(), db_free_index_array(), db_free_string(), db_free_string_array(), db_free_table(), db_set_error_who(), and db_shutdown_driver().
void * db_malloc | ( | int | n | ) |
Definition at line 27 of file db/dbmi_base/alloc.c.
References db_memory_error(), malloc(), NULL, and dialogs::s.
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 65 of file db/dbmi_base/alloc.c.
References db_memory_error(), malloc(), NULL, and dialogs::s.
Referenced by db__add_cursor_to_driver_state(), db_enlarge_string(), and db_new_token().
char* db_store | ( | const char * | s | ) |
Definition at line 11 of file db/dbmi_base/alloc.c.
References db_malloc().
Referenced by db__mark_database_open(), db_enlarge_string(), db_error(), and db_set_error_who().