summaryrefslogtreecommitdiffstats
path: root/include/tinyb_utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/tinyb_utils.hpp')
-rw-r--r--include/tinyb_utils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tinyb_utils.hpp b/include/tinyb_utils.hpp
index 6f96378f..20146d5d 100644
--- a/include/tinyb_utils.hpp
+++ b/include/tinyb_utils.hpp
@@ -27,12 +27,14 @@
#include "BluetoothObject.hpp"
#include "generated-code.h"
+#include <cstring>
#include <vector>
#include <stdexcept>
extern GDBusObjectManager *gdbus_manager;
namespace tinyb {
+ std::vector<unsigned char> from_chars_to_vector(const gchar *chars);
std::vector<unsigned char> from_gbytes_to_vector(const GBytes *bytes);
GBytes *from_vector_to_gbytes(const std::vector<unsigned char>& array);
std::vector<unsigned char> from_iter_to_vector(GVariant *iter);