C-KIT-GUI-GTK 0.62
|
Store, reload, free memoryblocks UMB_. More...
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/ut_umem.h"
#include "../ut/ut_umb.h"
#include "../ut/ut_TX.h"
Data Structures | |
struct | umb_stru |
Macros | |
#define | UMB_MAX_ID 255 |
Functions | |
int | UMB_is_alive (int id) |
int | UMB_reserve__ (int *actId) |
int | UME_reuse (int actId) |
int | UMB_reload (int *recNr, void *pStart, void **pNxt, void *pEnd, int ii) |
int | UMB_save (int mbId, void *memPos, long memSiz, int recNr) |
int | UMB_stat__ (int mbId) |
void * | UMB_pos__ (int mbId) |
int | UMB_free (int mbId) |
int | UMB_dump__ () |
Variables | |
static int | umbNr = 0 |
static int | umbSiz = 0 |
static int | umbIncSiz = 100 |
static umb_stru * | umbTab = NULL |
static int | umbId = -1 |
Store, reload, free memoryblocks UMB_.
#define UMB_MAX_ID 255 |
int UMB_is_alive | ( | int | id | ) |
int UMB_reserve__ | ( | int * | actId | ) |
int UME_reuse | ( | int | actId | ) |
increment blockId
int UMB_reload | ( | int * | recNr, |
void * | pStart, | ||
void ** | pNxt, | ||
void * | pEnd, | ||
int | ii | ||
) |
reload memBlock ii; update pNxt
int UMB_save | ( | int | mbId, |
void * | memPos, | ||
long | memSiz, | ||
int | recNr | ||
) |
int UMB_stat__ | ( | int | mbId | ) |
void* UMB_pos__ | ( | int | mbId | ) |
int UMB_free | ( | int | mbId | ) |
delete a memoryblock
int UMB_dump__ | ( | ) |
dump table of memoryblocks
|
static |
|
static |
|
static |
|
static |
|
static |