Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

interface.c File Reference

#include <include.h>
#include <src/interface.h>
#include <src/analyse.h>

Include dependency graph for interface.c:

Go to the source code of this file.

Functions

void InitScreen (UINT8 CheckScreenSize)
void RefreshAllWND (void)
void WriteSummary (void)
void RefreshRealTime_WND_th (void)
void RefreshRealTime_WND (UINT8 GotItOne)
void EndCurses (void)

Variables

WINDOW * Title_WND
WINDOW * Panel_WND
WINDOW * Sum_WND
WINDOW * RealTime_WND
Statistics_t Stats
ConfigStruct config
UINT8 CursesIsInUse
pthread_mutex_t screen_mutex
 MUTEX for lock screen, so only one func write to it at the same time.
UINT8 stop_sniffing


Function Documentation

void InitScreen UINT8  CheckScreenSize  ) 
 

Definition at line 47 of file interface.c.

References COL_MINI_NEEDED, COL_WND_PANEL, COL_WND_REALTIME, COL_WND_SUM, COL_WND_TITLE, FALSE, Panel_WND, RealTime_WND, RefreshAllWND(), ROW_MINI_NEEDED, ROW_WND_PANEL, ROW_WND_REALTIME, ROW_WND_SUM, ROW_WND_TITLE, Sum_WND, Title_WND, TRUE, and WIFISCANNER_VERSION.

Referenced by main().

void RefreshAllWND void   ) 
 

Definition at line 108 of file interface.c.

References Panel_WND, RealTime_WND, screen_mutex, Sum_WND, and Title_WND.

Referenced by fatal(), and InitScreen().

void WriteSummary void   ) 
 

Definition at line 124 of file interface.c.

References Statistics_t::AP, Statistics_t::Beacon, Statistics_t::Channel, config, Statistics_t::CryptedPackets, ConfigStruct::DoNotDisplay, DoSummary(), Statistics_t::INVLD, IS_BIT_SET, Statistics_t::IV, Statistics_t::Packets, screen_mutex, Statistics_t::SSID, Statistics_t::STA, Stats, Sum_WND, and Statistics_t::WeakIV.

Referenced by main().

void RefreshRealTime_WND_th void   ) 
 

Definition at line 187 of file interface.c.

References config, ConfigStruct::DebugLevel, Panel_WND, RealTime_WND, ROW_WND_PANEL, screen_mutex, and stop_sniffing.

Referenced by main().

void RefreshRealTime_WND UINT8  GotItOne  ) 
 

Definition at line 214 of file interface.c.

Referenced by main().

void EndCurses void   ) 
 

Definition at line 256 of file interface.c.

References CursesIsInUse, and FALSE.

Referenced by fatal(), and main().


Variable Documentation

WINDOW* Title_WND
 

Definition at line 60 of file scanner.c.

WINDOW * Panel_WND
 

Definition at line 60 of file scanner.c.

WINDOW * Sum_WND
 

Definition at line 60 of file scanner.c.

WINDOW * RealTime_WND
 

Definition at line 60 of file scanner.c.

Statistics_t Stats
 

Definition at line 61 of file scanner.c.

ConfigStruct config
 

Definition at line 57 of file scanner.c.

UINT8 CursesIsInUse
 

Definition at line 62 of file scanner.c.

pthread_mutex_t screen_mutex
 

MUTEX for lock screen, so only one func write to it at the same time.

Definition at line 66 of file scanner.c.

UINT8 stop_sniffing
 

Definition at line 68 of file scanner.c.

Referenced by ChangeChannel_th(), check_keys_th(), main(), parse_keystring(), RefreshRealTime_WND_th(), and stop_signal().


Generated on Fri Feb 25 12:02:55 2005 for WifiScanner by  doxygen 1.4.1