added library build mode
This commit is contained in:
18
libnethogs.h
Normal file
18
libnethogs.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef NETHOGSMINITOR_H
|
||||
#define NETHOGSMINITOR_H
|
||||
|
||||
class NethogsMonitor
|
||||
{
|
||||
NethogsMonitor();
|
||||
public:
|
||||
static void start();
|
||||
static void stop();
|
||||
private:
|
||||
static void threadProc();
|
||||
static void handleUpdate();
|
||||
|
||||
static bool _trace;
|
||||
static bool _promisc;
|
||||
};
|
||||
|
||||
#endif // NETHOGSMINITOR_H
|
||||
Reference in New Issue
Block a user