mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
f1542c8e5a
Necessary to avoid namespace clashes with IOS HLE's namespace name.
28 lines
466 B
C++
28 lines
466 B
C++
// Copyright 2014 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
namespace Common
|
|
{
|
|
enum class MACConsumer
|
|
{
|
|
BBA,
|
|
IOS
|
|
};
|
|
|
|
enum
|
|
{
|
|
MAC_ADDRESS_SIZE = 6
|
|
};
|
|
|
|
void GenerateMacAddress(const MACConsumer type, u8* mac);
|
|
std::string MacAddressToString(const u8* mac);
|
|
bool StringToMacAddress(const std::string& mac_string, u8* mac);
|
|
} // namespace Common
|