Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cs_init(3) [debian man page]

cs_init(3)							      cs/cs.h								cs_init(3)

NAME
cs_init - create and initialize a CS context SYNOPSIS
#include <cs/cs.h> NEOERR *cs_init (CSPARSE **parse, HDF *hdf); ARGUMENTS
parse - a pointer to a pointer to a CSPARSE structure that will be created hdf - the HDF dataset to be used during parsing and rendering DESCRIPTION
cs_init will create a CSPARSE structure and initialize it. This structure maintains the state and information necessary for parsing and rendering a CS template. MT-Level: cs routines perform no locking, and neither do hdf routines. They should be safe in an MT environment as long as they are con- fined to a single thread. RETURN VALUE
parse will contain a pointer to the allocated CSPARSE structure. This structure will be deallocated with cs_destroy() SEE ALSO
cs_dump(3), cs_destroy(3), cs_render(3), cs_register_esc_strfunc(3), cs_arg_parsev(3), cs_register_fileload(3), cs_init(3), cs_regis- ter_strfunc(3), cs_arg_parse(3), cs_parse_string(3), cs_parse_file(3), =(3), cs_register_function ClearSilver 12 July 2007 cs_init(3)

Check Out this Related Man Page

cs_parse_file(3)						      cs/cs.h							  cs_parse_file(3)

NAME
cs_parse_file - parse a CS template file SYNOPSIS
#include <cs/cs.h> NEOERR *cs_parse_file (CSPARSE *parse, const char *path); ARGUMENTS
parse - a CSPARSE structure created with cs_init path - the path to the file to parse DESCRIPTION
cs_parse_file will parse the CS template located at path. It will use hdf_search_path() if path does not begin with a '/'. The parsed CS template will be appended to the current parse tree stored in the CSPARSE structure. The entire file is loaded into memory and parsed in place. RETURN VALUE
None SEE ALSO
cs_dump(3), cs_destroy(3), cs_render(3), cs_register_esc_strfunc(3), cs_arg_parsev(3), cs_register_fileload(3), cs_init(3), cs_regis- ter_strfunc(3), cs_arg_parse(3), cs_parse_string(3), cs_parse_file(3), =(3), cs_register_function ClearSilver 12 July 2007 cs_parse_file(3)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

parsing meaning

i often hear the word parse the files, parse it etc. what does parsing mean in such contexts.does it mean breaking the files into smaller chunnks (2 Replies)
Discussion started by: rintingtong
2 Replies

2. Shell Programming and Scripting

How to parse a line?

I'm currenting trying to parse the out put of the following command. iostat -xtc -r |grep cmdk0 which produces the output cmdk0,0.2,0.0,1.2,0.0,0.0,0.0,39.7,0,0,0,0,0,0,0,99 I'm then trying to get the data to look like this: rw=0.2 ws=0.0 krs=1.2 kws=0.0 wait=0.0 actv=0.0... (2 Replies)
Discussion started by: edefoe
2 Replies

3. Shell Programming and Scripting

Perl script parsing Help

Hi All, I am looking for a parsing in perl script which will parse DJEČJI SVIJET. There is a unicode character above character C. How to parse the total DJEČJI SVIJET in perl. Regards, Harikrishna (3 Replies)
Discussion started by: Harikrishna
3 Replies

4. UNIX for Dummies Questions & Answers

tough parsing

I have a string as "Period= 20090531 Client Name= Clayton Lumbar Company Destination= MD" I want to parse the string and store it in 3 different variables. $period (should get value 20090531) $client (should get value "Clayton Lumbar company") $dest (should get value MD) How can I do... (3 Replies)
Discussion started by: paruthiveeran
3 Replies

5. Shell Programming and Scripting

parsing issue with edi file

Hello, We have edi files we need to do some extra parsing on. There is a line that shows up that looks like this: GE|8,845|000000000 We need to parse the file, find the line ( that begins with GE "^GE" ), and remove the comma(s). What is the easiest way to do that ? I know I can grab... (5 Replies)
Discussion started by: fwellers
5 Replies