summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-04-30 10:09:31 +0000
committermpi <mpi@openbsd.org>2015-04-30 10:09:31 +0000
commitc7bdea979dfce216d06fe192fb07d4a433845ff0 (patch)
treeac85f41ae246eea9ea700870c46c2d3dc5cc688c /usr.bin/grep/grep.c
parentInstead of using a single flat array for all sensors, put all the (diff)
downloadwireguard-openbsd-c7bdea979dfce216d06fe192fb07d4a433845ff0.tar.xz
wireguard-openbsd-c7bdea979dfce216d06fe192fb07d4a433845ff0.zip
Link report descriptors to known sensors.
Since HID buffers always start by a reportID we can access the corresponding report descriptor in O(1). Having a list of sensors attached to each report descriptor makes it easier to update all of them with only on I/O request. Note that sensors are attached in depency order on every report list. From David Higgs.
Diffstat (limited to 'usr.bin/grep/grep.c')
0 files changed, 0 insertions, 0 deletions