Return GPG_ERR_INV_ARG if pwm->inquire_func is not set. This makes
commit273825e28cefb3f56ca194ad4e45774096ccd980
authorBen Kibbey <bjk@luxsci.net>
Tue, 27 Nov 2007 02:22:46 +0000 (26 21:22 -0500)
committerBen Kibbey <bjk@luxsci.net>
Tue, 27 Nov 2007 02:22:46 +0000 (26 21:22 -0500)
tree9fccabc1fa61091d2e9b6add0e1e280727aa342d
parent3c640c565f11a345628876e0e347c01fda85abf6
Return GPG_ERR_INV_ARG if pwm->inquire_func is not set. This makes
PWMD_OPTION_INQUIRE_FUNC a requirement for the "STORE" command. Note
that when using pwmd_command() with STORE, "STORE" is sent by itself
without any data. It's up to the callback to send the remaining bytes.
See pwmc.c for an example.
libpwmd.c