summaryrefslogtreecommitdiffstats
path: root/include/usbmuxd.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-12-13 11:59:32 +0100
committerGravatar Nikias Bassen2013-12-13 11:59:32 +0100
commit75534a5e07d8974fd1aa3b80892255af48def715 (patch)
tree13a4f18e5a174e8efe0d1b1a9928423e10b4d8ce /include/usbmuxd.h
parentb867ce936b1aab79a77e7a8a0fab5afaab872e47 (diff)
downloadlibusbmuxd-75534a5e07d8974fd1aa3b80892255af48def715.tar.gz
libusbmuxd-75534a5e07d8974fd1aa3b80892255af48def715.tar.bz2
implemented usbmuxd_read_buid()
Diffstat (limited to 'include/usbmuxd.h')
-rw-r--r--include/usbmuxd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/usbmuxd.h b/include/usbmuxd.h
index 4ae71e2..ad0b126 100644
--- a/include/usbmuxd.h
+++ b/include/usbmuxd.h
@@ -175,6 +175,16 @@ int usbmuxd_recv_timeout(int sfd, char *data, uint32_t len, uint32_t *recv_bytes
int usbmuxd_recv(int sfd, char *data, uint32_t len, uint32_t *recv_bytes);
/**
+ * Reads the SystemBUID
+ *
+ * @param buid pointer to a variable that will be set to point to a newly
+ * allocated string with the System BUID returned by usbmuxd
+ *
+ * @return 0 on success, a negative errno value otherwise.
+ */
+int usbmuxd_read_buid(char** buid);
+
+/**
* Enable or disable the use of inotify extension. Enabled by default.
* Use 0 to disable and 1 to enable inotify support.
* This only has an effect on linux systems if inotify support has been built