Loading...
Searching...
No Matches
crit_action_cmd_line.hpp
Go to the documentation of this file.
/*********************************************************************/
// dar - disk archive - a backup/restoration program
// Copyright (C) 2002-2026 Denis Corbin
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
// to contact the author, see the AUTHOR file
/*********************************************************************/
#ifndef CRIT_ACTION_CMD_LINE_HPP
#define CRIT_ACTION_CMD_LINE_HPP
#include "../my_config.h"
#include "libdar.hpp"
extern std::string crit_action_canonize_string(const std::string & argument);
extern const libdar::crit_action * crit_action_create_from_string(libdar::user_interaction & dialog,
const std::string & argument,
const libdar::infinint & hourshift);
#endif
libdar::crit_action
the global action for overwriting
Definition crit_action.hpp:81
libdar::infinint
the arbitrary large positive integer class
Definition real_infinint.hpp:62
libdar::user_interaction
This is a pure virtual class that is used by libdar when interaction with the user is required.
Definition user_interaction.hpp:58
crit_action_create_from_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
crit_action_canonize_string
std::string crit_action_canonize_string(const std::string &argument)
canonizes a criterium description string
libdar.hpp
the main file of the libdar API definitions
my_config.h
include macro defined by the configure script and some specific additional ones