]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Introduce virReadBufInt16LE and virReadBufInt16BE
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Jun 2016 16:57:30 +0000 (12:57 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 24 Jun 2016 17:23:02 +0000 (13:23 -0400)
commitcc1c7af2b390c2fa87c8cee7aa60ee82f31912ba
tree0e1aed1e611127824fa9733c2249195cf0f44b63
parent8be83eef60f64ee7d0adf4b919fbfd2be1c08ad6
util: Introduce virReadBufInt16LE and virReadBufInt16BE

In order to read 16 bits of data in the native format and convert add
the 16 bit macros to match existing 32 and 64 bit code.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/util/virendian.h
tests/virendiantest.c