// cmdline_do_action.h                            -*-c++-*-
//
//  Copyright 2004 Daniel Burrows
//  Copyright (C) 2014-2017 Manuel A. Fernandez Montecelo

#ifndef CMDLINE_DO_ACTION_H
#define CMDLINE_DO_ACTION_H

#include "cmdline_util.h"

/** \file cmdline_do_action.h
 */

enum resolver_mode_tp
  {
    resolver_mode_default,
    resolver_mode_safe,
    resolver_mode_full
  };

int cmdline_do_action(int argc, char *argv[],
		      const char *status_fname, bool simulate,
		      bool assume_yes, bool download_only, bool fix_broken,
		      bool showvers, bool showdeps,
		      bool showsize, bool showwhy,
		      bool visual_preview, bool always_prompt,
		      resolver_mode_tp resolver_mode, bool safe_resolver_show_actions,
		      // Two options for the safe resolver, if
		      // it's enabled:
		      bool no_new_installs, bool no_new_upgrades,
		      const std::vector<aptitude::cmdline::tag_application> &user_tags,
		      bool arch_only,
		      bool queue_only,
		      int verbose);

#endif // CMDLINE_DO_ACTION_H
