1cs_parse_string(3) cs/cs.h cs_parse_string(3)
2
3
4
6 cs_parse_string - parse a CS template string
7
9 #include <cs/cs.h>
10
11
12 NEOERR *cs_parse_string (CSPARSE *parse, char *buf, size_t blen);
13
14
15
16
18 parse - a CSPARSE structure created with cs_init
19 buf - the string to parse. Embedded NULLs are not currently
20 supported
21 blen - the length of the string
22
23
25 cs_parse_string parses a string. The string is modified, and internal
26 references are kept by the parse tree. For this reason, ownership of
27 the string is transfered to the CS system, and the string will be
28 free'd when cs_destroy() is called. The parse information will be
29 appended to the current parse tree. During parse, the only HDF vari‐
30 ables which are evaluated are those used in evar or include statements.
31
32
34 None
35
36
38 cs_dump(3), cs_destroy(3), cs_render(3), cs_register_esc_strfunc(3),
39 cs_arg_parsev(3), cs_register_fileload(3), cs_init(3), cs_register_str‐
40 func(3), cs_arg_parse(3), cs_parse_string(3), cs_parse_file(3), =[22m(3),
41 cs_register_function
42
43
44
45ClearSilver 14 November 2006 cs_parse_string(3)