Go to the first, previous, next, last section, table of contents.


3.1.8 diskheap_delete -- Remove a store buffer from the heap.

Function:
int diskheap_delete(diskheap_t * diskheap_p, const unsigned int block_num, const unsigned int offset, unsigned int * user_size_p, unsigned int * user_type_p);

Usage: ret = diskheap_update(diskheap_p, block_num, offset, &size, &type);

This function deletes a previously stored item from the heap. You specify the old item's block-number and offset location and it passes back its size and type. It will return DISKHEAP_ERROR_NONE if it succeeds otherwise an error code.


Go to the first, previous, next, last section, table of contents.

Diskheap Home Page. Copyright 2002 by Gray Watson