Files
palera1n/patches/liteusb/0001-cpp-compatible.patch
c 0cf2c6492f refactor: libciderra1n support (#764)
* refactor

refactor: remove wdi

refactor: move openra1n to its own library

refactor: move everything standalone file to src root

* submodule

* okay these shouldnt of been included

* remove

* readd

* fix openra1n libusb

* liteusb for ra1ncovery

* fix action

* token

* whatever lwra bw apwxidix

* I knew this was gonna happen

* fix mac build

* what if this doesnt work

* okay bro

* lzma resources

* rename

* use idevice++, fix multiple devices, enter recovery

* whatever

* fix

* --force-enable-ssv

* improve exploit stuff, mirror tui logic to gui

also cooool logging for libopenra1n

* fix idevice windows build

* lets not be fancy

* new idevice patch

* easier to read

* lets hope this action works!

* remove useless ifs

* not required for non tui

* PLEASE COMPILE

* gsed lmao

* this might work idk

* whatever bro

* ah

* amd fix

* fix ts

* fix

* licensing

* update paleinfo

* LETS NOT do that

* forgot a file
2026-07-21 20:22:02 -07:00

27 lines
775 B
Diff

diff --git a/include/liteusb.h b/include/liteusb.h
index 4f4033a..ab9d48a 100644
--- a/include/liteusb.h
+++ b/include/liteusb.h
@@ -134,6 +134,10 @@ typedef struct {
#endif
} liteusb_handle_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
const char *liteusb_strerror(liteusb_err_t err);
liteusb_err_t liteusb_init(uint32_t flags);
void liteusb_deinit(void);
@@ -154,4 +158,8 @@ liteusb_err_t liteusb_upload(liteusb_handle_t *handle, uint32_t endpoint, void *
liteusb_err_t liteusb_get_device_desc(liteusb_handle_t *handle, liteusb_device_desc_t *desc);
liteusb_err_t liteusb_get_device_serial_num(liteusb_handle_t *handle, char **serial_num);
-#endif /* LITEUSB_HEADER_H */
\ No newline at end of file
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LITEUSB_HEADER_H */