New command -application_use
This commit is contained in:
@ -347,6 +347,21 @@ int Xorriso_option_application_id(struct XorrisO *xorriso, char *name,
|
||||
}
|
||||
|
||||
|
||||
/* Command -application_use */
|
||||
int Xorriso_option_application_use(struct XorrisO *xorriso, char *path,
|
||||
int flag)
|
||||
{
|
||||
if(Sfile_str(xorriso->application_use, path, 0) <= 0) {
|
||||
sprintf(xorriso->info_text,
|
||||
"-application_use: parameter string is much too long (%d)",
|
||||
(int) strlen(path));
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
|
||||
return(0);
|
||||
}
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
/* Option -as */
|
||||
/* @param flag bit0=do not report the added item
|
||||
bit1=do not reset pacifier, no final pacifier message
|
||||
|
Reference in New Issue
Block a user