summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libusb/usb.320
-rw-r--r--lib/libusbhid/usb.320
-rw-r--r--lib/libusbhid/usbhid.320
3 files changed, 30 insertions, 30 deletions
diff --git a/lib/libusb/usb.3 b/lib/libusb/usb.3
index 68d658e..0b58ea9 100644
--- a/lib/libusb/usb.3
+++ b/lib/libusb/usb.3
@@ -63,21 +63,21 @@
.Ft int
.Fn hid_report_size "report_desc_t d" "unsigned int id" "hid_kind_t k"
.Ft int
-.Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h"
-.Ft char *
+.Fn hid_locate "report_desc_t d" "unsigned int usage" "hid_kind_t k" "hid_item_t *h"
+.Ft const char *
.Fn hid_usage_page "int i"
-.Ft char *
-.Fn hid_usage_in_page "u_int u"
+.Ft const char *
+.Fn hid_usage_in_page "unsigned int u"
.Ft int
-.Fn hid_parse_usage_page "const char *"
-.Ft char *
-.Fn hid_parse_usage_in_page "const char *"
+.Fn hid_parse_usage_page "const char *name"
+.Ft int
+.Fn hid_parse_usage_in_page "const char *name"
.Ft void
-.Fn hid_init "char *file"
+.Fn hid_init "const char *file"
.Ft int
-.Fn hid_get_data "void *data" "hid_item_t *h"
+.Fn hid_get_data "const void *data" "const hid_item_t *h"
.Ft void
-.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data"
+.Fn hid_set_data "void *p" "const hid_item_t *h" "int data"
.Sh DESCRIPTION
The
.Nm
diff --git a/lib/libusbhid/usb.3 b/lib/libusbhid/usb.3
index 68d658e..0b58ea9 100644
--- a/lib/libusbhid/usb.3
+++ b/lib/libusbhid/usb.3
@@ -63,21 +63,21 @@
.Ft int
.Fn hid_report_size "report_desc_t d" "unsigned int id" "hid_kind_t k"
.Ft int
-.Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h"
-.Ft char *
+.Fn hid_locate "report_desc_t d" "unsigned int usage" "hid_kind_t k" "hid_item_t *h"
+.Ft const char *
.Fn hid_usage_page "int i"
-.Ft char *
-.Fn hid_usage_in_page "u_int u"
+.Ft const char *
+.Fn hid_usage_in_page "unsigned int u"
.Ft int
-.Fn hid_parse_usage_page "const char *"
-.Ft char *
-.Fn hid_parse_usage_in_page "const char *"
+.Fn hid_parse_usage_page "const char *name"
+.Ft int
+.Fn hid_parse_usage_in_page "const char *name"
.Ft void
-.Fn hid_init "char *file"
+.Fn hid_init "const char *file"
.Ft int
-.Fn hid_get_data "void *data" "hid_item_t *h"
+.Fn hid_get_data "const void *data" "const hid_item_t *h"
.Ft void
-.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data"
+.Fn hid_set_data "void *p" "const hid_item_t *h" "int data"
.Sh DESCRIPTION
The
.Nm
diff --git a/lib/libusbhid/usbhid.3 b/lib/libusbhid/usbhid.3
index 68d658e..0b58ea9 100644
--- a/lib/libusbhid/usbhid.3
+++ b/lib/libusbhid/usbhid.3
@@ -63,21 +63,21 @@
.Ft int
.Fn hid_report_size "report_desc_t d" "unsigned int id" "hid_kind_t k"
.Ft int
-.Fn hid_locate "report_desc_t d" "u_int usage" "hid_kind_t k" "hid_item_t *h"
-.Ft char *
+.Fn hid_locate "report_desc_t d" "unsigned int usage" "hid_kind_t k" "hid_item_t *h"
+.Ft const char *
.Fn hid_usage_page "int i"
-.Ft char *
-.Fn hid_usage_in_page "u_int u"
+.Ft const char *
+.Fn hid_usage_in_page "unsigned int u"
.Ft int
-.Fn hid_parse_usage_page "const char *"
-.Ft char *
-.Fn hid_parse_usage_in_page "const char *"
+.Fn hid_parse_usage_page "const char *name"
+.Ft int
+.Fn hid_parse_usage_in_page "const char *name"
.Ft void
-.Fn hid_init "char *file"
+.Fn hid_init "const char *file"
.Ft int
-.Fn hid_get_data "void *data" "hid_item_t *h"
+.Fn hid_get_data "const void *data" "const hid_item_t *h"
.Ft void
-.Fn hid_set_data "void *data" "hid_item_t *h" "u_int data"
+.Fn hid_set_data "void *p" "const hid_item_t *h" "int data"
.Sh DESCRIPTION
The
.Nm
OpenPOWER on IntegriCloud