30 #ifndef LINE_TOOLS_HPP
31 #define LINE_TOOLS_HPP
33 #include "../my_config.h"
40 using namespace libdar;
48 argc_argv(S_I size = 0);
49 argc_argv(
const argc_argv & ref) {
throw Efeature(
"argc_argv"); };
50 const argc_argv & operator = (
const argc_argv & ref) {
throw Efeature(
"argc_argv"); };
53 void resize(S_I size);
54 void set_arg(
const std::string & arg, S_I index);
57 S_I argc()
const {
return x_argc; };
58 char*
const * argv()
const {
return x_argv; };
65 extern void line_tools_slice_ownership(
const std::string & cmd, std::string & slice_permission, std::string & slice_user_ownership, std::string & slice_group_ownership);
66 extern void line_tools_repeat_param(
const std::string & cmd,
infinint & repeat_count,
infinint & repeat_byte);
67 extern void line_tools_tlv_list2argv(
user_interaction & dialog,
const tlv_list & list, argc_argv & arg);
73 std::string::const_iterator line_tools_find_first_char_out_of_parenth(
const std::string & argument,
unsigned char to_find);
74 std::string::const_iterator line_tools_find_last_char_out_of_parenth(
const std::string & argument,
unsigned char to_find);
76 std::string line_tools_expand_user_comment(
const std::string & user_comment, S_I argc,
char *
const argv[]);