Made -pkt_output combinable with message output lists
This commit is contained in:
@ -580,8 +580,9 @@ struct Xorriso_lsT;
|
||||
output and eventual older redirections will not see new messages until
|
||||
the redirection is ended by a call to Xorriso_pull_outlists() with the
|
||||
stack_handle value returned by this call.
|
||||
Redirected output is not written to the files of Xorriso_option_logfile()
|
||||
and the Xorriso_option_pkt_output() protocol will not be applied.
|
||||
If Xorriso_option_pkt_output() is set to "on", then it will consolidate
|
||||
output in the result_list of Xorriso_fetch_outlists() resp.
|
||||
Xorriso_pull_outlists().
|
||||
@param xorriso The environment handle
|
||||
@param stack_handle returns an id number which is unique as long as
|
||||
its redirection is stacked. Do not interpret it and
|
||||
@ -685,7 +686,9 @@ int Xorriso_pull_outlists(struct XorrisO *xorriso, int stack_handle,
|
||||
@param xorriso The environment handle
|
||||
@param result_handler Pointer to the function which shall be called with
|
||||
each result message. A NULL pointer causes output
|
||||
to be directed to stdout.
|
||||
to be directed to stdout resp. to be interpreted
|
||||
as -pkt_output format if this is enabled by
|
||||
Xorriso_option_pkt_output().
|
||||
@param result_handle The first argument of (*result_handler)(). It shall
|
||||
point to a memory object that knows all necessary
|
||||
external parameters for running (*result_handler)().
|
||||
@ -1294,6 +1297,9 @@ int Xorriso_option_path_list(struct XorrisO *xorriso, char *adr, int flag);
|
||||
int Xorriso_option_pathspecs(struct XorrisO *xorriso, char *mode, int flag);
|
||||
|
||||
/* Command -pkt_output */
|
||||
/* Note: If output is redirected by Xorriso_push_outlists() then mode "on"
|
||||
consolidates output in the result output list, not on stdout.
|
||||
*/
|
||||
int Xorriso_option_pkt_output(struct XorrisO *xorriso, char *mode, int flag);
|
||||
|
||||
/* Command -preparer_id */
|
||||
|
Reference in New Issue
Block a user