2021-03-23 04:04:54 +00:00
|
|
|
#ifndef HEADER_CommandLine
|
|
|
|
#define HEADER_CommandLine
|
|
|
|
/*
|
|
|
|
htop - CommandLine.h
|
|
|
|
(C) 2004-2011 Hisham H. Muhammad
|
|
|
|
(C) 2020-2021 htop dev team
|
2021-09-22 09:33:00 +00:00
|
|
|
Released under the GNU GPLv2+, see the COPYING file
|
2021-03-23 04:04:54 +00:00
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
2021-10-06 07:45:07 +00:00
|
|
|
typedef enum {
|
|
|
|
STATUS_OK,
|
|
|
|
STATUS_ERROR_EXIT,
|
|
|
|
STATUS_OK_EXIT
|
|
|
|
} CommandLineStatus;
|
2021-03-23 04:04:54 +00:00
|
|
|
|
|
|
|
int CommandLine_run(const char* name, int argc, char** argv);
|
|
|
|
|
|
|
|
#endif
|