1cs_init(3) cs/cs.h cs_init(3)
2
3
4
6 cs_init - create and initialize a CS context
7
9 #include <cs/cs.h>
10
11
12 NEOERR *cs_init (CSPARSE **parse, HDF *hdf);
13
14
15
16
18 parse - a pointer to a pointer to a CSPARSE structure that
19 will be created
20 hdf - the HDF dataset to be used during parsing and rendering
21
22
24 cs_init will create a CSPARSE structure and initialize it. This struc‐
25 ture maintains the state and information necessary for parsing and ren‐
26 dering a CS template.
27
28 MT-Level: cs routines perform no locking, and neither do hdf routines.
29 They should be safe in an MT environment as long as they are confined
30 to a single thread.
31
32
34 parse will contain a pointer to the allocated CSPARSE
35 structure. This structure will be deallocated with
36 cs_destroy()
37
38
40 cs_dump(3), cs_destroy(3), cs_render(3), cs_register_esc_strfunc(3),
41 cs_arg_parsev(3), cs_register_fileload(3), cs_init(3), cs_register_str‐
42 func(3), cs_arg_parse(3), cs_parse_string(3), cs_parse_file(3), =[22m(3),
43 cs_register_function
44
45
46
47ClearSilver 12 July 2007 cs_init(3)