CommandLine.h 413 B

123456789101112131415161718192021
  1. #ifndef HEADER_CommandLine
  2. #define HEADER_CommandLine
  3. /*
  4. htop - CommandLine.h
  5. (C) 2004-2011 Hisham H. Muhammad
  6. (C) 2020-2021 htop dev team
  7. Released under the GNU GPLv2+, see the COPYING file
  8. in the source distribution for its full text.
  9. */
  10. typedef enum {
  11. STATUS_OK,
  12. STATUS_ERROR_EXIT,
  13. STATUS_OK_EXIT
  14. } CommandLineStatus;
  15. extern const char* program;
  16. int CommandLine_run(int argc, char** argv);
  17. #endif