Lhogho
0.0.028
|
Go to the source code of this file.
Functions | |
RESULT | name_parser (const TCHAR *parameter_name, const TCHAR *parameter_optipons, test_case_info *test_case_params) |
Parse name pameter. More... | |
RESULT | cmd_parser (const TCHAR *parameter_name, const TCHAR *parameter_optipons, test_case_info *test_case_params) |
Parse commands for compiler. More... | |
RESULT | extract_string (const TCHAR *parameter_optipons, TCHAR **extracted_value) |
Extracts a string to space form parameter buffer. More... | |
RESULT name_parser | ( | const TCHAR * | parameter_name, |
const TCHAR * | parameter_optipons, | ||
test_case_info * | test_case_params | ||
) |
parameter_name | name of the parameter to parse |
parameter_optipons | the text passed for parsing |
test_case_params | palce where extracted name will be stored |
Exract the name of the test case.
Definition at line 40 of file param_parsers.c.
RESULT cmd_parser | ( | const TCHAR * | parameter_name, |
const TCHAR * | parameter_optipons, | ||
test_case_info * | test_case_params | ||
) |
parameter_name | name of the parameter to parse |
parameter_optipons | the text passed for parsing |
test_case_params | palce where extracted comand options will be stored |
Exract the name of the test case.
Definition at line 62 of file param_parsers.c.
parameter_optipons | input string |
extracted_value | result value. Memory is allocated for it |
Exract the the data to the first space. If space is between " " it is ecraned. Allocate memory for result string
Definition at line 91 of file param_parsers.c.