OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // The remainder of this file is copied from the Gears project: | 5 // The remainder of this file is copied from the Gears project: |
6 // http://code.google.com/p/gears/source/browse/trunk/gears/geolocation/osx_wifi
.h | 6 // http://code.google.com/p/gears/source/browse/trunk/gears/geolocation/osx_wifi
.h |
7 | 7 |
8 // The contents of this file are taken from Apple80211.h from the iStumbler | 8 // The contents of this file are taken from Apple80211.h from the iStumbler |
9 // project (http://www.istumbler.net). This project is released under the BSD | 9 // project (http://www.istumbler.net). This project is released under the BSD |
10 // license with the following restrictions. | 10 // license with the following restrictions. |
(...skipping 26 matching lines...) Expand all Loading... |
37 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | 37 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
38 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 38 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
39 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 39 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
40 // | 40 // |
41 // This is the reverse engineered header for the Apple80211 private framework. | 41 // This is the reverse engineered header for the Apple80211 private framework. |
42 // The framework can be found at | 42 // The framework can be found at |
43 // /System/Library/PrivateFrameworks/Apple80211.framework. | 43 // /System/Library/PrivateFrameworks/Apple80211.framework. |
44 | 44 |
45 #ifndef CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ | 45 #ifndef CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ |
46 #define CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ | 46 #define CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ |
47 #pragma once | |
48 | 47 |
49 #include <CoreFoundation/CoreFoundation.h> | 48 #include <CoreFoundation/CoreFoundation.h> |
50 | 49 |
51 extern "C" { | 50 extern "C" { |
52 | 51 |
53 typedef SInt32 WIErr; | 52 typedef SInt32 WIErr; |
54 | 53 |
55 // A WirelessContext should be created using WirelessAttach | 54 // A WirelessContext should be created using WirelessAttach |
56 // before any other Wireless functions are called. WirelessDetach | 55 // before any other Wireless functions are called. WirelessDetach |
57 // is used to dispose of a WirelessContext. | 56 // is used to dispose of a WirelessContext. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // | 93 // |
95 // If stripDups != 0 only one bases tation for each SSID will be returned. | 94 // If stripDups != 0 only one bases tation for each SSID will be returned. |
96 typedef WIErr (*WirelessScanSplitFunction)(WirelessContext* inContext, | 95 typedef WIErr (*WirelessScanSplitFunction)(WirelessContext* inContext, |
97 CFArrayRef* apList, | 96 CFArrayRef* apList, |
98 CFArrayRef* adhocList, | 97 CFArrayRef* adhocList, |
99 const UInt32 stripDups); | 98 const UInt32 stripDups); |
100 | 99 |
101 } // extern "C" | 100 } // extern "C" |
102 | 101 |
103 #endif // CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ | 102 #endif // CONTENT_BROWSER_GEOLOCATION_OSX_WIFI_H_ |
OLD | NEW |