`





Limit results to this file
File Information
Path: xnetworkstrength-0.4.2/
Name: xns_strength.h
Lines of Code: 11
Total Lines: 24
File Size: 0.75 kB
Package: xnetstrength-0.4.2
  1. /* xns_strength.h - header for xns_strength.c for xnetworkstrength.
  2. * Written by Gabriel Cain, gabriel-software@dreamingcrow.com
  3. * This program is distributed and licensed under the GNU GPL.
  4. */
  5.  
  6. #ifndef __XNS_STRENGTH_H__
  7. #define __XNS_STRENGTH_H__
  8.  
  9. /* This file contains the definition of the structure that contains our
  10. * wireless network connection strength, as well as the functions that read
  11. * /proc/net/wireless for the data.
  12. */
  13.  
  14. struct xns_strength_stat {
  15. char iface[32];
  16. int flags;
  17. int link, level, noise; /* TODO: Find out the nature of those. */
  18. int dp_nwid, dp_crypt, dp_frag, dp_retry, dp_misc;
  19. int mbeacon;
  20. };
  21.  
  22. extern int GetPNWStats( struct xns_strength_stat *stat );
  23. extern void xns_print_stat( struct xns_strength_stat *stat );
  24. #endif