Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/netwerk/wifi/dbus/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  DbusWifiScanner.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef NSWIFIAPSCANNERDBUS_H_
#define NSWIFIAPSCANNERDBUS_H_

#include "WifiScanner.h"

class nsIWifiAccessPoint;
class nsWifiAccessPoint;

namespace mozilla {

using AccessPointArray = nsTArray<RefPtr<nsIWifiAccessPoint>>;

class WifiScannerImpl final : public WifiScanner {
 public:
  explicit WifiScannerImpl();
  ~WifiScannerImpl();

  /**
   * GetAccessPointsFromWLAN
   *
   * Scans the available wireless interfaces for nearby access points and
   * populates the supplied collection with them
   *
   * @param accessPoints The collection to populate with available APs
   * @return NS_OK on success, failure codes on failure
   */

  nsresult GetAccessPointsFromWLAN(AccessPointArray& accessPoints);

 private:
  bool AddDevice(const char* aDevicePath, AccessPointArray& aAccessPoints);
  bool AddAPProperties(const char* aApPath, AccessPointArray& aAccessPoints);
  bool SetMac(char* aHwAddress, nsWifiAccessPoint* aAp);
};

}  // namespace mozilla

#endif  // NSWIFIAPSCANNERDBUS_H_

Messung V0.5 in Prozent
C=93 H=95 G=93

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-05) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.