1hdf_register_fileload(3)        util/neo_hdf.h        hdf_register_fileload(3)
2
3
4

NAME

6       hdf_register_fileload  - register a fileload function
7

SYNOPSIS

9       #include <util/neo_hdf.h>
10
11
12       void hdf_register_fileload(HDF *hdf, void *ctx, HDFFILELOAD fileload);
13
14
15
16

ARGUMENTS

18       hdf - pointer to a head HDF node
19       ctx - pointer that is passed to the HDFFILELOAD function when called
20       fileload - a HDFFILELOAD function
21
22

DESCRIPTION

24       hdf_register_fileload  registers a fileload function that overrides the
25       built-in function.  The  built-in  function  uses  hdf_search_path  and
26       ne_file_load  (based  on  stat/open/read)  to find and load the file on
27       every hdf_read_file (including #include).  You can override this  func‐
28       tion  if  you  wish to provide other file search functions, or load the
29       hdf file from an in-memory cache, etc.
30
31

RETURN VALUE

33       None
34
35

SEE ALSO

37       hdf_set_symlink(3),         hdf_get_valuef(3),         compareFunc)(3),
38       hdf_dump_str(3),    hdf_get_int_value(3),    hdf_read_string_ignore(3),
39       hdf_copy(3),   hdf_get_node(3),   hdf_set_value(3),   hdf_obj_child(3),
40       hdf_read_string(3),      hdf_set_buf(3),      hdf_register_fileload(3),
41       hdf_get_obj(3),  hdf_get_attr(3),  hdf_obj_top(3),  hdf_dump_format(3),
42       hdf_destroy(3),   hdf_init(3),  hdf_obj_value(3),  hdf_write_string(3),
43       hdf_set_valuevf(3),     hdf_sort_obj(3),      hdf_write_file_atomic(3),
44       hdf_obj_attr(3), hdf_set_valuef(3), hdf_get_copy(3), hdf_write_file(3),
45       hdf_get_valuevf(3),         hdf_set_int_value(3),          hdf_dump(3),
46       hdf_get_value(3), hdf_set_copy(3), hdf_obj_next(3), hdf_search_path(3),
47       hdf_obj_name(3), hdf_set_attr(3), hdf_get_child(3), hdf_remove_tree
48
49
50
51ClearSilver                      12 July 2007         hdf_register_fileload(3)
Impressum