2006-06-06 20:28:42 +00:00
|
|
|
/* Do not edit this file. It was automatically generated. */
|
|
|
|
|
|
|
|
#ifndef HEADER_TraceScreen
|
|
|
|
#define HEADER_TraceScreen
|
2006-03-04 18:16:49 +00:00
|
|
|
/*
|
|
|
|
htop - TraceScreen.h
|
2006-06-06 20:28:42 +00:00
|
|
|
(C) 2005-2006 Hisham H. Muhammad
|
2006-03-04 18:16:49 +00:00
|
|
|
Released under the GNU GPL, see the COPYING file
|
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
2016-01-12 08:00:58 +00:00
|
|
|
#include "InfoScreen.h"
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
typedef struct TraceScreen_ {
|
2016-01-12 08:00:58 +00:00
|
|
|
InfoScreen super;
|
2006-03-04 18:16:49 +00:00
|
|
|
bool tracing;
|
2016-01-12 08:00:58 +00:00
|
|
|
int fdpair[2];
|
|
|
|
int child;
|
|
|
|
FILE* strace;
|
|
|
|
int fd_strace;
|
|
|
|
bool contLine;
|
|
|
|
bool follow;
|
2006-03-04 18:16:49 +00:00
|
|
|
} TraceScreen;
|
|
|
|
|
2006-06-06 20:28:42 +00:00
|
|
|
|
2016-01-12 08:00:58 +00:00
|
|
|
extern InfoScreenClass TraceScreen_class;
|
|
|
|
|
2020-08-18 07:41:49 +00:00
|
|
|
extern TraceScreen* TraceScreen_new(Process* process);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2020-08-18 07:41:49 +00:00
|
|
|
extern void TraceScreen_delete(Object* cast);
|
2016-01-12 08:00:58 +00:00
|
|
|
|
2020-08-18 07:41:49 +00:00
|
|
|
extern void TraceScreen_draw(InfoScreen* this);
|
2016-01-12 08:00:58 +00:00
|
|
|
|
2020-08-18 07:41:49 +00:00
|
|
|
extern bool TraceScreen_forkTracer(TraceScreen* this);
|
2016-01-12 08:00:58 +00:00
|
|
|
|
2020-08-18 07:41:49 +00:00
|
|
|
extern void TraceScreen_updateTrace(InfoScreen* super);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
2020-08-18 07:41:49 +00:00
|
|
|
extern bool TraceScreen_onKey(InfoScreen* super, int ch);
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#endif
|