mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-02 11:37:54 +00:00
Adding new registration processing for signup.
This commit is contained in:
@@ -170,7 +170,7 @@ namespace OpenWifi {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool APConfig::ReplaceVariablesInArray( Poco::JSON::Array::Ptr & Original, Poco::JSON::Array::Ptr & ResultArray) {
|
bool APConfig::ReplaceVariablesInArray( const Poco::JSON::Array::Ptr & Original, Poco::JSON::Array::Ptr & ResultArray) {
|
||||||
for(const auto &element:*Original) {
|
for(const auto &element:*Original) {
|
||||||
std::cout << __LINE__ << "ELEMENT: " << element.toString() << std::endl;
|
std::cout << __LINE__ << "ELEMENT: " << element.toString() << std::endl;
|
||||||
if(element.isArray()) {
|
if(element.isArray()) {
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ namespace OpenWifi {
|
|||||||
Poco::JSON::Array Explanation_;
|
Poco::JSON::Array Explanation_;
|
||||||
Poco::Logger & Logger() { return Logger_;}
|
Poco::Logger & Logger() { return Logger_;}
|
||||||
|
|
||||||
bool ReplaceVariablesInArray( Poco::JSON::Array::Ptr & O, Poco::JSON::Array::Ptr & Result);
|
bool ReplaceVariablesInArray( const Poco::JSON::Array::Ptr & O, Poco::JSON::Array::Ptr & Result);
|
||||||
bool ReplaceVariablesInObject( Poco::JSON::Object::Ptr & Original, Poco::JSON::Object::Ptr & Result);
|
bool ReplaceVariablesInObject( const Poco::JSON::Object::Ptr & Original, Poco::JSON::Object::Ptr & Result);
|
||||||
|
|
||||||
bool FindRadio(const std::string &Band, const Poco::JSON::Array::Ptr &Arr, Poco::JSON::Object::Ptr & Radio);
|
bool FindRadio(const std::string &Band, const Poco::JSON::Array::Ptr &Arr, Poco::JSON::Object::Ptr & Radio);
|
||||||
bool mergeArray(const std::string &K, const Poco::JSON::Array::Ptr &A , const Poco::JSON::Array::Ptr &B, Poco::JSON::Array &Arr);
|
bool mergeArray(const std::string &K, const Poco::JSON::Array::Ptr &A , const Poco::JSON::Array::Ptr &B, Poco::JSON::Array &Arr);
|
||||||
|
|||||||
Reference in New Issue
Block a user