diff options
author | Daniel Lange <DLange@git.local> | 2020-12-07 10:26:01 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2020-12-07 10:26:01 +0100 |
commit | 65357c8c46154de4e4eca14075bfe5523bb5fc14 (patch) | |
tree | 8f430ee5a0d5de377c4e7c94e47842a27c70d7e8 /TraceScreen.h | |
parent | f80394a20254938142011855f2954b3f63fe5909 (diff) | |
download | debian_htop-65357c8c46154de4e4eca14075bfe5523bb5fc14.tar.gz debian_htop-65357c8c46154de4e4eca14075bfe5523bb5fc14.tar.bz2 debian_htop-65357c8c46154de4e4eca14075bfe5523bb5fc14.zip |
New upstream version 3.0.3upstream/3.0.3
Diffstat (limited to 'TraceScreen.h')
-rw-r--r-- | TraceScreen.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/TraceScreen.h b/TraceScreen.h index 1e5218c..8192047 100644 --- a/TraceScreen.h +++ b/TraceScreen.h @@ -3,25 +3,30 @@ /* htop - TraceScreen.h (C) 2005-2006 Hisham H. Muhammad -Released under the GNU GPL, see the COPYING file +Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include <stdbool.h> +#include <stdio.h> +#include <sys/types.h> + #include "InfoScreen.h" +#include "Object.h" +#include "Process.h" + typedef struct TraceScreen_ { InfoScreen super; bool tracing; - int fdpair[2]; - int child; + pid_t child; FILE* strace; - int fd_strace; bool contLine; bool follow; } TraceScreen; -extern InfoScreenClass TraceScreen_class; +extern const InfoScreenClass TraceScreen_class; TraceScreen* TraceScreen_new(Process* process); |