w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
RethTools.hpp
Go to the documentation of this file.
1// $Id: RethTools.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2017- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2017-04-15 875 1.0 Initial version
8// 2017-02-04 849 0.1 First draft
9// ---------------------------------------------------------------------------
10
15#ifndef included_Retro_RethTools
16#define included_Retro_RethTools 1
17
18#include <cstdint>
19#include <string>
20
21#include "librtools/RerrMsg.hpp"
22
23namespace Retro {
24
25 namespace RethTools {
26 std::string Mac2String(uint64_t mac);
27 bool String2Mac(const std::string& str, uint64_t& mac,
28 RerrMsg& emsg);
29 uint64_t String2Mac(const std::string& str);
30 void Mac2WList(uint64_t mac, uint16_t wlist[3]);
31 uint64_t WList2Mac(const uint16_t wlist[3]);
32
33 } // end namespace RethTools
34
35} // end namespace Retro
36
37#include "RethTools.ipp"
38
39#endif
void Mac2WList(uint64_t mac, uint16_t wlist[3])
FIXME_docs.
Definition: RethTools.ipp:21
uint64_t WList2Mac(const uint16_t wlist[3])
FIXME_docs.
Definition: RethTools.ipp:32
bool String2Mac(const std::string &str, uint64_t &mac, RerrMsg &emsg)
FIXME_docs.
Definition: RethTools.cpp:52
std::string Mac2String(uint64_t mac)
FIXME_docs.
Definition: RethTools.cpp:34
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47