summaryrefslogtreecommitdiff
path: root/gusb/gusb-interface-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'gusb/gusb-interface-private.h')
-rw-r--r--gusb/gusb-interface-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gusb/gusb-interface-private.h b/gusb/gusb-interface-private.h
index 7efd171..dcdfde1 100644
--- a/gusb/gusb-interface-private.h
+++ b/gusb/gusb-interface-private.h
@@ -8,6 +8,7 @@
#pragma once
#include <gusb/gusb-interface.h>
+#include <json-glib/json-glib.h>
#include <libusb.h>
G_BEGIN_DECLS
@@ -15,4 +16,9 @@ G_BEGIN_DECLS
GUsbInterface *
_g_usb_interface_new(const struct libusb_interface_descriptor *iface);
+gboolean
+_g_usb_interface_load(GUsbInterface *self, JsonObject *json_object, GError **error);
+gboolean
+_g_usb_interface_save(GUsbInterface *self, JsonBuilder *json_builder, GError **error);
+
G_END_DECLS