interface.h

Go to the documentation of this file.
00001 /* Linux Prism II Stumbler - Utility Scan for 802_11 networks under Linux
00002  * 
00003  * File : interface.h
00004  * Project : WifiScanner (c) 2002 Herv<E9> Schauer Consultants
00005  * Usage : This utility is written for use with IEEE 802.11 adapters based
00006  * on Intersil's PRISM II chipset (PCMCIA).
00007  * 
00008  * Base code was from prismstumbler Jan Fernquist <Jan.B.Fernquist@telia.com>
00009  * and wlanctl from www.linux-wlan.org
00010  *
00011  * This program is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU General Public License
00013  * as published by the Free Software Foundation; either version 2
00014  * of the License, or (at your option) any later version.
00015  * 
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  * 
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00024  *
00025  */
00026 
00027 #ifndef __interface_h__
00028 #define __interface_h__
00029 
00030 /* Size of Windows */
00031 #define COL_WND_TITLE COLS
00032 #define ROW_WND_TITLE 2
00033 
00034 #define COL_WND_SUM 24
00035 #define ROW_WND_SUM 20
00036 
00037 #define COL_WND_PANEL (COL_WND_TITLE - COL_WND_SUM)
00038 #define ROW_WND_PANEL ROW_WND_SUM
00039 
00040 #define COL_WND_REALTIME COL_WND_TITLE
00041 #define ROW_WND_REALTIME (LINES - ROW_WND_TITLE - ROW_WND_SUM)
00042 
00043 #define COL_MINI_NEEDED 132
00044 #define ROW_MINI_NEEDED 50
00045 
00046 /* public functions */
00047 void InitScreen(UINT8 CheckScreenSize);
00048 void RefreshAllWND(void);
00049 void WriteSummary(void);
00050 void RefreshRealTime_WND(UINT8 GotItOne);
00051 void ClearPanel(void);
00052 
00053 #ifdef WITH_THREAD
00054 void RefreshRealTime_WND_th(void);
00055 #endif
00056 
00057 void EndCurses(void);
00058 
00059 #endif

Generated on Fri Jul 25 17:10:34 2008 for WifiScanner by  doxygen 1.5.5