mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 17:52:28 +00:00
Framework Update.
This commit is contained in:
@@ -15,8 +15,9 @@
|
||||
#include "Poco/Data/LOBStream.h"
|
||||
|
||||
namespace OpenWifi {
|
||||
uint64_t Now();
|
||||
namespace SecurityObjects {
|
||||
|
||||
|
||||
typedef std::string USER_ID_TYPE;
|
||||
|
||||
struct AclTemplate {
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <array>
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
@@ -22,6 +23,10 @@
|
||||
#include <queue>
|
||||
#include <variant>
|
||||
|
||||
namespace OpenWifi {
|
||||
inline uint64_t Now() { return std::time(nullptr); };
|
||||
}
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
#include "Poco/Util/Application.h"
|
||||
@@ -93,8 +98,6 @@ using namespace std::chrono_literals;
|
||||
// #define _OWDEBUG_ Logger().debug(Poco::format("%s: %lu",__FILE__,__LINE__));
|
||||
namespace OpenWifi {
|
||||
|
||||
inline uint64_t Now() { return std::time(nullptr); };
|
||||
|
||||
enum UNAUTHORIZED_REASON {
|
||||
SUCCESS=0,
|
||||
PASSWORD_CHANGE_REQUIRED,
|
||||
|
||||
Reference in New Issue
Block a user