DragonFlyBSDProcess.h 687 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef HEADER_DragonFlyBSDProcess
  2. #define HEADER_DragonFlyBSDProcess
  3. /*
  4. htop - dragonflybsd/DragonFlyBSDProcess.h
  5. (C) 2015 Hisham H. Muhammad
  6. (C) 2017 Diederik de Groot
  7. Released under the GNU GPLv2+, see the COPYING file
  8. in the source distribution for its full text.
  9. */
  10. #include <stdbool.h>
  11. #include "Object.h"
  12. #include "Process.h"
  13. #include "Machine.h"
  14. typedef struct DragonFlyBSDProcess_ {
  15. Process super;
  16. int jid;
  17. char* jname;
  18. } DragonFlyBSDProcess;
  19. extern const ProcessClass DragonFlyBSDProcess_class;
  20. extern const ProcessFieldData Process_fields[LAST_PROCESSFIELD];
  21. Process* DragonFlyBSDProcess_new(const Machine* host);
  22. void Process_delete(Object* cast);
  23. #endif