#include <traceio.h>
Public Member Functions | |
| DWlibTraceIO () | |
| ~DWlibTraceIO () | |
| void | report (void) |
| void | trace (int fileid, char *file) |
| void | removetrace (int fileid) |
| bool | check_opentrace (char *file) |
| void | check_env (void) |
| int | count_current_fd (void) |
Classes | |
| struct | TraceIO |
| DWlibTraceIO::DWlibTraceIO | ( | ) |
Constructor : Initialize internal array an set DWLreport fx to be call on exit.
| DWlibTraceIO::~DWlibTraceIO | ( | ) |
Destructor
| void DWlibTraceIO::report | ( | void | ) |
Print the Dwlib result report.
| void DWlibTraceIO::trace | ( | int | fileid, | |
| char * | file | |||
| ) |
Put a trace when file is opened in an internal array.
| fileid | the kernel fd number corresponding to this file | |
| file | the name of file opened |
| void DWlibTraceIO::removetrace | ( | int | fileid | ) |
Remove a trace from our internal array.
| fileid | the kernel fd number corresponding to file to remove |
| bool DWlibTraceIO::check_opentrace | ( | char * | file | ) |
Check if we have a trace in our internal array.
| void DWlibTraceIO::check_env | ( | void | ) |
Check if env had change and set internal bool in consequence.
| int DWlibTraceIO::count_current_fd | ( | void | ) |
Check if env had change and set internal bool in consequence.
1.5.1