Disk ARchive  2.7.14
Full featured and portable backup and archiving tool
crit_action_cmd_line.hpp
Go to the documentation of this file.
1 /*********************************************************************/
2 // dar - disk archive - a backup/restoration program
3 // Copyright (C) 2002-2024 Denis Corbin
4 //
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 //
19 // to contact the author, see the AUTHOR file
20 /*********************************************************************/
21 
25 
26 
27 #ifndef CRIT_ACTION_CMD_LINE_HPP
28 #define CRIT_ACTION_CMD_LINE_HPP
29 
30 #include "../my_config.h"
31 #include "libdar.hpp"
32 
35 
37 
43 extern std::string crit_action_canonize_string(const std::string & argument);
44 
45 
47 
56  const std::string & argument,
57  const libdar::infinint & hourshift);
58 
60 
61 #endif
the global action for overwriting
Definition: crit_action.hpp:81
the arbitrary large positive integer class
This is a pure virtual class that is used by libdar when interaction with the user is required.
std::string crit_action_canonize_string(const std::string &argument)
canonizes a criterium description string
const libdar::crit_action * crit_action_create_from_string(libdar::user_interaction &dialog, const std::string &argument, const libdar::infinint &hourshift)
creates a criterium object as defined by the command line's given string
the main file of the libdar API definitions