summaryrefslogtreecommitdiff
path: root/src/cmdline/cmdline_do_action.h
blob: e43d1ee256ed9f835d6a354b631bff037ca970cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// cmdline_do_action.h                            -*-c++-*-
//
//  Copyright 2004 Daniel Burrows

#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