Add helpers for the pwmd BULK protocol command.
commit1d944a7e5de27e821a74ca83d7b7aca951219913
authorBen Kibbey <bjk@luxsci.net>
Sat, 20 Oct 2018 22:06:52 +0000 (20 15:06 -0700)
committerBen Kibbey <bjk@luxsci.net>
Sat, 27 Oct 2018 23:45:26 +0000 (27 16:45 -0700)
tree57eba92d4ca2dac367ba04af61403c23134db2b4
parent43ccb74119ad3b9d4a7497c4bd258f2bb7033341
Add helpers for the pwmd BULK protocol command.

This adds pwmd_bulk_append() to create the required s-expression for a
command, pwmd_bulk_finalize() to finalize the bulk s-expression, and
pwmd_bulk_result() to extract the return code and command result data
for a given command ID for a BULK result.
configure.ac
doc/libpwmd.3
src/Makefile.am
src/libpwmd.c
src/libpwmd.h.in
src/mem.c
src/mem.h
src/pwmc.c