"Fossies" - the Fresh Open Source Software Archive

Member "libisoburn-1.5.4/xorriso/parse_exec.h" (8 Jul 2020, 4230 Bytes) of package /linux/misc/libisoburn-1.5.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "parse_exec.h" see the Fossies "Dox" file reference documentation.

    1 
    2 /* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
    3 
    4    Copyright 2007-2014 Thomas Schmitt, <scdbackup@gmx.net>
    5 
    6    Provided under GPL version 2 or later.
    7 
    8    This file contains declarations of functions which deal with parsing
    9    and interpretation of command input.
   10 */
   11 
   12 
   13 #ifndef Xorriso_pvt_cmd_includeD
   14 #define Xorriso_pvt_cmd_includeD yes
   15 
   16 
   17 /* @param flag bit0= do not warn of wildcards
   18                bit1= these are disk_paths
   19 */
   20 int Xorriso_end_idx(struct XorrisO *xorriso,
   21                     int argc, char **argv, int idx, int flag);
   22 
   23 int Xorriso_opt_args(struct XorrisO *xorriso, char *cmd,
   24                      int argc, char **argv, int idx,
   25                      int *end_idx, int *optc, char ***optv, int flag);
   26 
   27 int Xorriso_get_problem_status(struct XorrisO *xorriso, char severity[80],
   28                                int flag);
   29 
   30 int Xorriso_set_problem_status(struct XorrisO *xorriso, char *severity,
   31                                int flag);
   32 
   33 /**
   34     @param flag       bit0= do not issue own event messages
   35                       bit1= take xorriso->request_to_abort as reason for abort
   36     @return           Gives the advice:
   37                         2= pardon was given, go on
   38                         1= no problem, go on
   39                         0= function failed but xorriso would not abort, go on
   40                        <0= do abort
   41                            -1 = due to problem_status
   42                            -2 = due to xorriso->request_to_abort
   43 */
   44 int Xorriso_eval_problem_status(struct XorrisO *xorriso, int ret, int flag);
   45 
   46 int Xorriso_cpmv_args(struct XorrisO *xorriso, char *cmd,
   47                       int argc, char **argv, int *idx,
   48                       int *optc, char ***optv, char eff_dest[SfileadrL],
   49                       int flag);
   50 
   51 /* @param flag bit0= with adr_mode sbsector: adr_value is possibly 16 too high
   52 */
   53 int Xorriso_decode_load_adr(struct XorrisO *xorriso, char *cmd,
   54                             char *adr_mode, char *adr_value,
   55                             int *entity_code, char entity_id[81],
   56                             int flag);
   57 
   58 int Xorriso_check_thing_len(struct XorrisO *xorriso, char *name, int size,
   59                             char *cmd, char *thing, int flag);
   60 
   61 int Xorriso_check_name_len(struct XorrisO *xorriso, char *name, int size,
   62                            char *cmd, int flag);
   63 
   64 /* @param flag bit0= prepend wd only if name does not begin by '/'
   65                bit2= prepend wd (automatically done if wd[0]!=0)
   66 */
   67 int Xorriso_make_abs_adr(struct XorrisO *xorriso, char *wd, char *name,
   68                              char adr[], int flag);
   69 
   70 /* @param flag bit0= do not complain in case of error, but set info_text */
   71 int Xorriso_convert_datestring(struct XorrisO *xorriso, char *cmd,
   72                                char *time_type, char *timestring,
   73                                int *t_type, time_t *t, int flag);
   74 
   75 int Xorriso_check_temp_mem_limit(struct XorrisO *xorriso, off_t mem, int flag);
   76 
   77 int Xorriso_execv(struct XorrisO *xorriso, char *cmd,
   78                   int in_argc, char **in_argv, char *env_path,
   79                   int *stdin_pipe, int *stdout_pipe, pid_t *forked_pid,
   80                   int *status, int flag);
   81 
   82 int Xorriso_pipe_open(struct XorrisO *xorriso, char *purpose, char *cmd,
   83                       int in_argc, char **in_argv, char *env_path,
   84                       int *fd, pid_t *forked_pid, int flag);
   85 
   86 int Xorriso_wait_child_end(struct XorrisO *xorriso, pid_t child_pid,
   87                            int *status, int flag);
   88 
   89 
   90 int Xorriso_path_is_excluded(struct XorrisO *xorriso, char *path, int flag);
   91 
   92 int Xorriso_path_is_hidden(struct XorrisO *xorriso, char *path, int flag);
   93 
   94 
   95 /* Normalize ACL and sort apart "access" ACL from "default" ACL.
   96  */
   97 int Xorriso_normalize_acl_text(struct XorrisO *xorriso, char *in_text,
   98                     char **access_acl_text, char **default_acl_text, int flag);
   99 
  100 int Xorriso_read_mkisofsrc(struct XorrisO *xorriso, int flag);
  101 
  102 /* @param flag bit0= list sorting order rather than looking for argv[idx]
  103 */
  104 int Xorriso_cmd_sorting_rank(struct XorrisO *xorriso,
  105                         int argc, char **argv, int idx, int flag);
  106 
  107 #endif /* ! Xorriso_pvt_cmd_includeD */
  108