test: Fix varbuf memory leak in t-pkg-format test
[dpkg.git] / src / common / actions.h
bloba78f329df99c4a2756754a2b47dbaca1c5feaef5
1 /*
2 * dpkg - main program for package management
3 * actions.h - command action definition list
5 * Copyright © 1995 Ian Jackson <ijackson@chiark.greenend.org.uk>
6 * Copyright © 2006, 2008-2016 Guillem Jover <guillem@debian.org>
8 * This is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
22 #ifndef DPKG_ACTIONS_H
23 #define DPKG_ACTIONS_H
25 enum action {
26 act_unset,
28 act_unpack,
29 act_configure,
30 act_install,
31 act_triggers,
32 act_remove,
33 act_purge,
34 act_verify,
35 act_commandfd,
37 act_status,
38 act_listpackages,
39 act_listfiles,
40 act_searchfiles,
41 act_controlpath,
42 act_controllist,
43 act_controlshow,
45 act_cmpversions,
47 act_arch_add,
48 act_arch_remove,
49 act_printarch,
50 act_printforeignarches,
52 act_assert_feature,
54 act_validate_pkgname,
55 act_validate_trigname,
56 act_validate_archname,
57 act_validate_version,
59 act_audit,
60 act_unpackchk,
61 act_predeppackage,
63 act_getselections,
64 act_setselections,
65 act_clearselections,
67 act_avail,
68 act_printavail,
69 act_avclear,
70 act_avreplace,
71 act_avmerge,
72 act_forgetold,
74 act_help,
75 act_version,
78 #endif /* DPKG_ACTIONS_H */