Introduced alternative Makefile.am for libxorriso production
This commit is contained in:
@ -41,6 +41,50 @@ int Xorriso_new(struct XorrisO ** xorriso, char *progname, int flag);
|
||||
int Xorriso_startup_libraries(struct XorrisO *xorriso, int flag);
|
||||
|
||||
|
||||
/* Interpret argv as xorriso command options and their parameters.
|
||||
@param xorriso The context object in which to perform the commands.
|
||||
@param argc Number of arguments.
|
||||
@param argv The arguments. argv[0] contains the program name.
|
||||
argv[1] to argv[argc-1] contain commands and parameters.
|
||||
@param idx Argument cursor. When this function is called, *idx must
|
||||
be at least 1, argv[*idx] must be to a command.
|
||||
*idx will iterate over commands and parameters until this
|
||||
function aborts or until argc is reached.
|
||||
@param flag ( Do Not Set: bit0= recursion )
|
||||
( Do Not Set: bit1= these are command line arguments
|
||||
(for xorriso->argument_emulation) )
|
||||
@return <=0 = error
|
||||
1 = success
|
||||
2 = problem event ignored
|
||||
3 = end program run (e.g. because command -end was encountered)
|
||||
*/
|
||||
int Xorriso_interpreter(struct XorrisO *xorriso,
|
||||
int argc, char **argv, int *idx, int flag);
|
||||
|
||||
|
||||
/* Parse a command line into words and use them as argv for a call of
|
||||
Xorriso_interpreter(). Put out some info lines about the outcome.
|
||||
@param xorriso The context object in which to perform the commands.
|
||||
@param line A text of one or more words according to man xorriso
|
||||
paragraph "Command processing" up to and including
|
||||
"Backslash Interpretation".
|
||||
@param flag bit0 to bit15 are forwarded to Xorriso_interpreter()
|
||||
bit16= no pageing of info lines
|
||||
bit17= print === bar even if xorriso->found<0
|
||||
@return see return of Xorriso_interpreter()
|
||||
*/
|
||||
int Xorriso_execute_option(struct XorrisO *xorriso, char *line, int flag);
|
||||
|
||||
|
||||
/* Inquire whether option -commit would make sense.
|
||||
@param xorriso The context object to inquire.
|
||||
@param flag unused yet, submit 0
|
||||
@return 0= -commit would have nothing to do
|
||||
1= a new image session would emerge at -commit
|
||||
*/
|
||||
int Xorriso_change_is_pending(struct XorrisO *xorriso, int flag);
|
||||
|
||||
|
||||
/* Destroy xorriso object when it is no longer needed.
|
||||
@param flag bit0= Make global librariy shutdown.
|
||||
Use only with last xorriso object to be destroyed.
|
||||
|
Reference in New Issue
Block a user