~ubuntu-branches/ubuntu/precise/wpasupplicant/precise-security

« back to all changes in this revision

Viewing changes to wpa_supplicant/scan.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2010-11-22 09:43:43 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20101122094343-qgsxaojvmswfri77
Tags: 0.7.3-0ubuntu1
* Get wpasupplicant 0.7.3 from Debian's SVN. Leaving 0.7.3-1 as unreleased
  for now.
* Build-Depend on debhelper 8, since the packaging from Debian uses compat 8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * WPA Supplicant - Scanning
 
3
 * Copyright (c) 2003-2010, Jouni Malinen <j@w1.fi>
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License version 2 as
 
7
 * published by the Free Software Foundation.
 
8
 *
 
9
 * Alternatively, this software may be distributed under the terms of BSD
 
10
 * license.
 
11
 *
 
12
 * See README and COPYING for more details.
 
13
 */
 
14
 
 
15
#ifndef SCAN_H
 
16
#define SCAN_H
 
17
 
 
18
int wpa_supplicant_enabled_networks(struct wpa_config *conf);
 
19
void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
 
20
void wpa_supplicant_cancel_scan(struct wpa_supplicant *wpa_s);
 
21
void wpa_supplicant_notify_scanning(struct wpa_supplicant *wpa_s,
 
22
                                    int scanning);
 
23
struct wpa_driver_scan_params;
 
24
int wpa_supplicant_trigger_scan(struct wpa_supplicant *wpa_s,
 
25
                                struct wpa_driver_scan_params *params);
 
26
struct wpa_scan_results *
 
27
wpa_supplicant_get_scan_results(struct wpa_supplicant *wpa_s,
 
28
                                struct scan_info *info, int new_scan);
 
29
int wpa_supplicant_update_scan_results(struct wpa_supplicant *wpa_s);
 
30
const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie);
 
31
const u8 * wpa_scan_get_vendor_ie(const struct wpa_scan_res *res,
 
32
                                  u32 vendor_type);
 
33
struct wpabuf * wpa_scan_get_vendor_ie_multi(const struct wpa_scan_res *res,
 
34
                                             u32 vendor_type);
 
35
void wpa_scan_results_free(struct wpa_scan_results *res);
 
36
 
 
37
#endif /* SCAN_H */