htop/TraceScreen.h

41 lines
815 B
C
Raw Permalink Normal View History

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.
*/
#include "InfoScreen.h"
2006-03-04 18:16:49 +00:00
typedef struct TraceScreen_ {
InfoScreen super;
2006-03-04 18:16:49 +00:00
bool tracing;
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
extern InfoScreenClass TraceScreen_class;
2006-03-04 18:16:49 +00:00
TraceScreen* TraceScreen_new(Process* process);
void TraceScreen_delete(Object* cast);
void TraceScreen_draw(InfoScreen* this);
bool TraceScreen_forkTracer(TraceScreen* this);
void TraceScreen_updateTrace(InfoScreen* super);
2006-03-04 18:16:49 +00:00
bool TraceScreen_onKey(InfoScreen* super, int ch);
2006-03-04 18:16:49 +00:00
#endif