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

crt_io.c File Reference

#include <include.h>
#include <src/crt_io.h>
#include <src/interface.h>
#include <syslog.h>

Include dependency graph for crt_io.c:

Go to the source code of this file.

Functions

void fatal (char *fmt,...)
void debug (UINT8 DL, char *fmt,...)
void debugTS (UINT8 DL, char *fmt,...)
void warning (char *fmt,...)
void DumpHexPaquets (WINDOW *RealTime_WND, unsigned char msgbuf[], int recvlen)
void Send_IDS_Warning (char *message)

Variables

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


Function Documentation

void fatal char *  fmt,
  ...
 

Definition at line 56 of file crt_io.c.

References config, CursesIsInUse, ConfigStruct::DebugLevel, EndCurses(), RefreshAllWND(), and TRUE.

Referenced by main(), openCardWLAN(), openPacketCISCO(), openPacketWLAN(), and selectChannelWLAN().

void debug UINT8  DL,
char *  fmt,
  ...
 

Definition at line 83 of file crt_io.c.

References config, CursesIsInUse, ConfigStruct::DebugLevel, FALSE, RealTime_WND, screen_mutex, and TRUE.

void debugTS UINT8  DL,
char *  fmt,
  ...
 

Definition at line 118 of file crt_io.c.

References config, CursesIsInUse, ConfigStruct::DebugLevel, FALSE, RealTime_WND, screen_mutex, and TRUE.

void warning char *  fmt,
  ...
 

Definition at line 160 of file crt_io.c.

References config, CursesIsInUse, ConfigStruct::DebugLevel, FALSE, RealTime_WND, screen_mutex, and TRUE.

Referenced by do_ioctl(), main(), openCardWLAN(), parse_keystring(), ProcessTagBits(), Send_IDS_Warning(), and stop_signal().

void DumpHexPaquets WINDOW *  RealTime_WND,
unsigned char  msgbuf[],
int  recvlen
 

Definition at line 190 of file crt_io.c.

References MAX_BUFFER_SIZE, RealTime_WND, and screen_mutex.

Referenced by main().

void Send_IDS_Warning char *  message  ) 
 

Definition at line 240 of file crt_io.c.

References config, ConfigStruct::SendAlert2Syslog, TRUE, and warning().

Referenced by IDS_BcnInt(), IDS_TimeStamp(), and IDS_Var_SeqNum().


Variable Documentation

UINT8 CursesIsInUse
 

Definition at line 62 of file scanner.c.

Referenced by debug(), debugTS(), EndCurses(), fatal(), main(), and warning().

ConfigStruct config
 

Definition at line 57 of file scanner.c.

WINDOW* RealTime_WND
 

Definition at line 60 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.


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