xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

parse_exec.h
Go to the documentation of this file.
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 
#define SfileadrL
int Xorriso_cpmv_args(struct XorrisO *xorriso, char *cmd, int argc, char **argv, int *idx, int *optc, char ***optv, char eff_dest[SfileadrL], int flag)
int Xorriso_read_mkisofsrc(struct XorrisO *xorriso, int flag)
Definition: parse_exec.c:2562
int Xorriso_cmd_sorting_rank(struct XorrisO *xorriso, int argc, char **argv, int idx, int flag)
Definition: parse_exec.c:663
int Xorriso_normalize_acl_text(struct XorrisO *xorriso, char *in_text, char **access_acl_text, char **default_acl_text, int flag)
Definition: parse_exec.c:3184
int Xorriso_eval_problem_status(struct XorrisO *xorriso, int ret, int flag)
Definition: parse_exec.c:307
int Xorriso_end_idx(struct XorrisO *xorriso, int argc, char **argv, int idx, int flag)
Definition: parse_exec.c:46
int Xorriso_wait_child_end(struct XorrisO *xorriso, pid_t child_pid, int *status, int flag)
Definition: parse_exec.c:2918
int Xorriso_make_abs_adr(struct XorrisO *xorriso, char *wd, char *name, char adr[], int flag)
Definition: parse_exec.c:2812
int Xorriso_convert_datestring(struct XorrisO *xorriso, char *cmd, char *time_type, char *timestring, int *t_type, time_t *t, int flag)
Definition: parse_exec.c:2852
int Xorriso_execv(struct XorrisO *xorriso, char *cmd, int in_argc, char **in_argv, char *env_path, int *stdin_pipe, int *stdout_pipe, pid_t *forked_pid, int *status, int flag)
Definition: parse_exec.c:2973
int Xorriso_path_is_excluded(struct XorrisO *xorriso, char *path, int flag)
Definition: parse_exec.c:3130
int Xorriso_pipe_open(struct XorrisO *xorriso, char *purpose, char *cmd, int in_argc, char **in_argv, char *env_path, int *fd, pid_t *forked_pid, int flag)
Definition: parse_exec.c:3097
int Xorriso_decode_load_adr(struct XorrisO *xorriso, char *cmd, char *adr_mode, char *adr_value, int *entity_code, char entity_id[81], int flag)
Definition: parse_exec.c:415
int Xorriso_get_problem_status(struct XorrisO *xorriso, char severity[80], int flag)
Definition: parse_exec.c:215
int Xorriso_set_problem_status(struct XorrisO *xorriso, char *severity, int flag)
Definition: parse_exec.c:231
int Xorriso_path_is_hidden(struct XorrisO *xorriso, char *path, int flag)
Definition: parse_exec.c:3155
int Xorriso_check_thing_len(struct XorrisO *xorriso, char *name, int size, char *cmd, char *thing, int flag)
Definition: parse_exec.c:461
int Xorriso_check_temp_mem_limit(struct XorrisO *xorriso, off_t mem, int flag)
Definition: parse_exec.c:2896
int Xorriso_opt_args(struct XorrisO *xorriso, char *cmd, int argc, char **argv, int idx, int *end_idx, int *optc, char ***optv, int flag)
Definition: parse_exec.c:87
int Xorriso_check_name_len(struct XorrisO *xorriso, char *name, int size, char *cmd, int flag)
Definition: parse_exec.c:475