blob: 135ede5aa22ffe67b30d59e5e1ff36fae642649e [file] [edit]
/*
*
* Copyright (c) 2016 Nest Labs, Inc.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Description:
* ValueMap is a dictionary-like key-value store
*
*/
#ifndef wpantund_ValueMap_h
#define wpantund_ValueMap_h
#include <boost/any.hpp>
#include <cstdarg>
#include <map>
#include <string>
namespace nl {
typedef std::map<std::string, boost::any> ValueMap;
extern ValueMap ValueMapWithKeysAndValues(const char* key, ...);
}; // namespace nl
#endif