/*
- * list header file
+ * list.h - list header file
+ *
+ * author: hackbard@hackdaworld.dyndns.org
*
*/
-/* data structures */
-struct list {
- char ssid[32]; /* ssid */
- struct list *next; /* pointer to next list */
-};
+#define MAX_BSSID_CHARS 6
+#define MAX_SSID_CHARS 32
+
+struct bssid
+{
+ char bssid[MAX_BSSID_CHARS]; /* the bssid mac address */
+ struct bss *next; /* next bssid */
+}
-/* prototypes */
-int add_ssid_2_list(char *ssid,unsigned short cap, struct list *my_list);
+struct bsslist
+{
+ char ssid[MAX_SSID_CHARS]; /* network name of this bss */
+ char struct *bssid; /* pointer to bssid mac addresses of this bss */
+ struct bsslist *next; /* next sniffed bss */
+}