File fixed_alloc.c
FileList > base > fixed_alloc.c
Go to the source code of this file
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include "memory_alloc.h"
#include "customheaps.h"
#include "connection_defs.h"
#include "connection_error.h"
#include "memory_wrapper.hpp"
Classes
Public Types
Public Functions
Public Static Functions
Public Types Documentation
typedef REC_LINK
typedef struct rec_link REC_LINK;
Public Functions Documentation
function db_create_fixed_heap
HL_HEAPID db_create_fixed_heap (
int req_size,
int recs_per_chunk
)
function db_destroy_fixed_heap
void db_destroy_fixed_heap (
HL_HEAPID heap_id
)
function db_fixed_alloc
void * db_fixed_alloc (
HL_HEAPID heap_id,
size_t size
)
function db_fixed_free
void db_fixed_free (
HL_HEAPID heap_id,
void * ptr
)
Public Static Functions Documentation
function compute_rec_size
static int compute_rec_size (
int nominal_size
)
The documentation for this class was generated from the following file cubrid/src/base/fixed_alloc.c