TraceScreen.h 718 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef HEADER_TraceScreen
  2. #define HEADER_TraceScreen
  3. /*
  4. htop - TraceScreen.h
  5. (C) 2005-2006 Hisham H. Muhammad
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. */
  9. #include <stdbool.h>
  10. #include <stdio.h>
  11. #include <sys/types.h>
  12. #include "InfoScreen.h"
  13. #include "Object.h"
  14. #include "Process.h"
  15. typedef struct TraceScreen_ {
  16. InfoScreen super;
  17. bool tracing;
  18. pid_t child;
  19. FILE* strace;
  20. bool contLine;
  21. bool follow;
  22. bool strace_alive;
  23. } TraceScreen;
  24. extern const InfoScreenClass TraceScreen_class;
  25. TraceScreen* TraceScreen_new(const Process* process);
  26. void TraceScreen_delete(Object* cast);
  27. bool TraceScreen_forkTracer(TraceScreen* this);
  28. #endif