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)  

frontend_pipes_xorriso.c File Reference
#include <sys/wait.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
Include dependency graph for frontend_pipes_xorriso.c:

Go to the source code of this file.

Data Structures

struct  boss_state
 

Macros

#define Frontend_xorriso_max_resulT   1000
 
#define SfileadrL   4096
 

Functions

static int usage ()
 
static int prompt_for_command (struct boss_state *boss, char *line, int line_size)
 
static int transmit_command (struct boss_state *boss, char *line)
 
static int await_all_replies (struct boss_state *boss)
 
static int de_pkt_result (struct boss_state *boss)
 
static int drain_sieve (struct boss_state *boss)
 
int parse_line (char *progname, char *line, char *prefix, char *separators, int max_words, int *argc, char ***argv, int flag)
 
int dispose_parsed_words (int *argc, char ***argv)
 
int main (int argc, char *argv[])
 
static int show_parsed (struct boss_state *boss, char *line)
 
static int record_reply_line (struct boss_state *boss, char *line)
 
static int make_reply_lines (struct boss_state *boss)
 
static int input_interpreter (char *line, struct boss_state *boss)
 
static int Sfile_sep_make_argv (char *progname, char *line, char *separators, int max_words, int *argc, char ***argv, int flag)
 
static int Sfile_destroy_argv (int *argc, char ***argv, int flag)
 
static int Sfile_bsl_interpreter (char *text, int upto, int *eaten, int flag)
 

Macro Definition Documentation

◆ Frontend_xorriso_max_resulT

#define Frontend_xorriso_max_resulT   1000

Definition at line 89 of file frontend_pipes_xorriso.c.

◆ SfileadrL

#define SfileadrL   4096

Definition at line 811 of file frontend_pipes_xorriso.c.

Function Documentation

◆ await_all_replies()

static int await_all_replies ( struct boss_state boss)
static

◆ de_pkt_result()

static int de_pkt_result ( struct boss_state boss)
static

Definition at line 384 of file frontend_pipes_xorriso.c.

References boss_state::reply_lines, and boss_state::reply_lines_count.

Referenced by drain_sieve().

◆ dispose_parsed_words()

int dispose_parsed_words ( int *  argc,
char ***  argv 
)

Definition at line 687 of file frontend_pipes_xorriso.c.

References Sfile_sep_make_argv().

Referenced by drain_sieve(), input_interpreter(), and show_parsed().

◆ drain_sieve()

◆ input_interpreter()

static int input_interpreter ( char *  line,
struct boss_state boss 
)
static

◆ main()

◆ make_reply_lines()

static int make_reply_lines ( struct boss_state boss)
static

◆ parse_line()

int parse_line ( char *  progname,
char *  line,
char *  prefix,
char *  separators,
int  max_words,
int *  argc,
char ***  argv,
int  flag 
)

◆ prompt_for_command()

static int prompt_for_command ( struct boss_state boss,
char *  line,
int  line_size 
)
static

Definition at line 227 of file frontend_pipes_xorriso.c.

References input_interpreter().

Referenced by main().

◆ record_reply_line()

static int record_reply_line ( struct boss_state boss,
char *  line 
)
static

Definition at line 589 of file frontend_pipes_xorriso.c.

References boss_state::reply_lines, and boss_state::reply_lines_count.

Referenced by await_all_replies().

◆ Sfile_bsl_interpreter()

static int Sfile_bsl_interpreter ( char *  text,
int  upto,
int *  eaten,
int  flag 
)
static

◆ Sfile_destroy_argv()

◆ Sfile_sep_make_argv()

static int Sfile_sep_make_argv ( char *  progname,
char *  line,
char *  separators,
int  max_words,
int *  argc,
char ***  argv,
int  flag 
)
static

◆ show_parsed()

static int show_parsed ( struct boss_state boss,
char *  line 
)
static

◆ transmit_command()

static int transmit_command ( struct boss_state boss,
char *  line 
)
static

◆ usage()

static int usage ( )
static

Definition at line 28 of file frontend_pipes_xorriso.c.

Referenced by main().