-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata_types.h
34 lines (25 loc) · 913 Bytes
/
data_types.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2019 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_DATA_TYPES_H_
#define SHILL_DATA_TYPES_H_
#include <stdint.h>
#include <map>
#include <string>
#include <vector>
#include <brillo/variant_dictionary.h>
#include <dbus/object_path.h>
namespace shill {
class KeyValueStore;
using ByteArray = std::vector<uint8_t>;
using ByteArrays = std::vector<ByteArray>;
using KeyValueStores = std::vector<KeyValueStore>;
using RpcIdentifier = dbus::ObjectPath;
using RpcIdentifiers = std::vector<RpcIdentifier>;
using Strings = std::vector<std::string>;
using Stringmap = std::map<std::string, std::string>;
using Stringmaps = std::vector<Stringmap>;
using Uint16s = std::vector<uint16_t>;
using VariantDictionaries = std::vector<brillo::VariantDictionary>;
} // namespace shill
#endif // SHILL_DATA_TYPES_H_