00001 /*00002 * wpa_supplicant - Temporary BSSID blacklist00003 * Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>00004 *00005 * This program is free software; you can redistribute it and/or modify00006 * it under the terms of the GNU General Public License version 2 as00007 * published by the Free Software Foundation.00008 *00009 * Alternatively, this software may be distributed under the terms of BSD00010 * license.00011 *00012 * See README and COPYING for more details.00013 */00014
00015 #ifndef BLACKLIST_H00016 #define BLACKLIST_H00017
00018struct wpa_blacklist {
00019struct wpa_blacklist *next;
00020u8bssid[ETH_ALEN];
00021intcount;
00022 };
00023
00024 struct wpa_blacklist * wpa_blacklist_get(structwpa_supplicant *wpa_s,
00025 constu8 *bssid);
00026 intwpa_blacklist_add(structwpa_supplicant *wpa_s, constu8 *bssid);
00027 intwpa_blacklist_del(structwpa_supplicant *wpa_s, constu8 *bssid);
00028 voidwpa_blacklist_clear(structwpa_supplicant *wpa_s);
00029
00030 #endif /* BLACKLIST_H */