GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
db/dbmi_base/alloc.c File Reference
#include <string.h>
#include <stdlib.h>
#include <grass/dbmi.h>
Include dependency graph for db/dbmi_base/alloc.c:

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)
 

Function Documentation

void * db_malloc ( int  n)
void * db_realloc ( void *  s,
int  n 
)
Returns
Parameters

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().