added apgetconnected to git
This commit is contained in:
parent
b0b4a985e9
commit
a761eb4317
2 changed files with 191 additions and 0 deletions
19
src/apgetconnected.h
Normal file
19
src/apgetconnected.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include<vector>
|
||||
#include<string>
|
||||
#include<stdint.h>
|
||||
|
||||
namespace ap
|
||||
{
|
||||
enum ERRORS
|
||||
{
|
||||
SUCESS,
|
||||
ERR_INIT,
|
||||
ERR_NO_DEV,
|
||||
ERR_ALLOC,
|
||||
ERR_GENERAL
|
||||
};
|
||||
std::vector<uint64_t> connectedDevices(const std::string& ifDevice, int& error);
|
||||
std::string macAddrToString(uint64_t macAddr);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue