This structure contains extra information returned by pj_cli_sess_exec()/ pj_cli_sess_parse(). Upon return from the function, various other fields in this structure will be set by the function.
If a command matching the command in the cmdline was found, on return this will be set to the command id of the command, otherwise it will be set to PJ_CLI_INVALID_CMD_ID.
If a command was executed, on return this will be set to the return value of the command, otherwise it will contain PJ_SUCCESS.
If command parsing failed, on return this will point to the location where the failure occurs, otherwise the value will be set to -1.
If pj_cli_sess_parse() fails because of a missing argument or ambigous command/argument, the function returned PJ_CLI_EMISSINGARG or PJ_CLI_EAMBIGUOUS error. This field will contain the hint information. This is useful to give helpful information to the end_user.
The number of hint elements
The documentation for this struct was generated from the following file: