|
Packit |
8ea169 |
/*
|
|
Packit |
8ea169 |
Copyright (C) 2011 ABRT Team
|
|
Packit |
8ea169 |
Copyright (C) 2011 RedHat inc.
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
This program is free software; you can redistribute it and/or modify
|
|
Packit |
8ea169 |
it under the terms of the GNU General Public License as published by
|
|
Packit |
8ea169 |
the Free Software Foundation; either version 2 of the License, or
|
|
Packit |
8ea169 |
(at your option) any later version.
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
This program is distributed in the hope that it will be useful,
|
|
Packit |
8ea169 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
8ea169 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
8ea169 |
GNU General Public License for more details.
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
You should have received a copy of the GNU General Public License along
|
|
Packit |
8ea169 |
with this program; if not, write to the Free Software Foundation, Inc.,
|
|
Packit |
8ea169 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
Packit |
8ea169 |
*/
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
#ifndef _BUILTIN_CMD_H_
|
|
Packit |
8ea169 |
#define _BUILTIN_CMD_H_
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
extern int cmd_list(int argc, const char **argv);
|
|
Packit |
8ea169 |
extern int cmd_remove(int argc, const char **argv);
|
|
Packit |
8ea169 |
extern int _cmd_remove(const char **dirs_strv);
|
|
Packit |
8ea169 |
extern int cmd_report(int argc, const char **argv);
|
|
Packit |
8ea169 |
enum {
|
|
Packit |
8ea169 |
/* Remove successfully reported */
|
|
Packit |
8ea169 |
CMD_REPORT_REMOVE = 1 << 0,
|
|
Packit |
8ea169 |
/* Ignore security checks - i.e not-repotable */
|
|
Packit |
8ea169 |
CMD_REPORT_UNSAFE = 1 << 1,
|
|
Packit |
8ea169 |
};
|
|
Packit |
8ea169 |
extern int _cmd_report(const char **dirs_strv, int flags);
|
|
Packit |
8ea169 |
extern int cmd_info(int argc, const char **argv);
|
|
Packit |
8ea169 |
extern int _cmd_info(problem_data_t *problem_data, int detailed, int text_size);
|
|
Packit |
8ea169 |
extern int cmd_status(int argc, const char **argv);
|
|
Packit |
8ea169 |
extern int cmd_process(int argc, const char **argv);
|
|
Packit |
8ea169 |
|
|
Packit |
8ea169 |
#endif /* _BUILTIN-CMD_H_ */
|