#include <assert.h>
#include "fret.h"
#include "common.h"
#include "gramstore.h"
Include dependency graph for report_api.c:
Functions | |
bool | fret_getReport (const BufferId bufferId, const size_t offset, const size_t length, GramReport *const pReport) |
Retrieve an array of Grams that describe the data structure in a buffer(s). | |
bool | fret_freeReport (GramReport *const pReport) |
Frees the memory that is dynamically allocated to a GramReport. |
|
Frees the memory that is dynamically allocated to a GramReport. Deallocates the memory that is allocated to the Gram array attached to a Gram report. This function should be passed a pointer to a GramReport object that was previously allocated using the function fret_getReport.
|
|
Retrieve an array of Grams that describe the data structure in a buffer(s). Passes a Buffer Id to the library. If there are available Grams for this buffer, the data is returned as an array of Grams. If no Buffer Id is passed, the Grams for all Buffers are returned. There is also the option of specifying that only Grams for a range within a buffer or buffers are required using the offset and length.
|