|
|
|
|
| Function | return_next_token_str |
| Include file | S_PARSER.H |
| Prototype | char * return_next_token_str( char *source_str , int terminate_str_flag ) |
| Remarks | This routine returns the next white space delimited token str from a source_str. If terminate_str_flag == TRUE then the token str is NULL terminated. This routine is init-ed on the first call by providing a source_str on the call. On future calls pass NULL instead of a str to fetch sequential tokens from the original str. |
![]()
| Function | chk_cmd_verb_table |
| Include file | S_PARSER.H |
| Prototype | int chk_cmd_verb_table( char *parsed_verb , CMD_VB cmd_verb_tbl[] , int tbl_size ) |
| Remarks | Check a parsed_verb against a command_verb_table, if found return the function code found in the verb, else return MAX table as not found. |
![]()
![]()