hdf_register_fileload3
Register a fileload function
Usage
#include <util/neo_hdf.h>
void hdf_register_fileload(HDF *hdf, void *ctx, HDFFILELOAD fileload);
Arguments
hdf - pointer to a head HDF node
ctx - pointer that is passed to the HDFFILELOAD function when called
fileload - a HDFFILELOAD function
Overview
hdf_register_fileload registers a fileload function that overrides the built-in function. The built-in function uses hdf_search_path and ne_file_load (based on stat/open/read) to find and load the file on every hdf_read_file (including #include). You can override this function if you wish to provide other file search functions, or load the hdf file from an in-memory cache, etc.
Return value
None
Releases
9 releases since Debian 5.0 (Lenny); the text changed 1 time.