diff options
Diffstat (limited to 'gusb/gusb-bos-descriptor-private.h')
-rw-r--r-- | gusb/gusb-bos-descriptor-private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gusb/gusb-bos-descriptor-private.h b/gusb/gusb-bos-descriptor-private.h index fed994b..1b8cde7 100644 --- a/gusb/gusb-bos-descriptor-private.h +++ b/gusb/gusb-bos-descriptor-private.h @@ -8,6 +8,7 @@ #pragma once #include <gusb/gusb-bos-descriptor.h> +#include <json-glib/json-glib.h> #include <libusb.h> G_BEGIN_DECLS @@ -15,4 +16,9 @@ G_BEGIN_DECLS GUsbBosDescriptor * _g_usb_bos_descriptor_new(const struct libusb_bos_dev_capability_descriptor *bos_cap); +gboolean +_g_usb_bos_descriptor_load(GUsbBosDescriptor *self, JsonObject *json_object, GError **error); +gboolean +_g_usb_bos_descriptor_save(GUsbBosDescriptor *self, JsonBuilder *json_builder, GError **error); + G_END_DECLS |