diff options
author | Rob Austein <sra@hactrn.net> | 2016-05-25 21:40:18 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-05-25 21:40:18 -0400 |
commit | 083d01731ffebb348c749ad6ccdb0256571835c7 (patch) | |
tree | f883802139fa0938cfcb6784201dad80fd9e64fa /hal.h | |
parent | ce4d1c7a8103be09bcee64b055408a901d068c34 (diff) |
Start cleaning up PIN code.
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -568,6 +568,9 @@ typedef struct { uint32_t handle; } hal_session_handle_t; typedef enum { HAL_USER_NONE, HAL_USER_NORMAL, HAL_USER_SO, HAL_USER_WHEEL } hal_user_t; +extern const size_t hal_rpc_min_pin_length; +extern const size_t hal_rpc_max_pin_length; + extern hal_error_t hal_rpc_set_pin(const hal_client_handle_t client, const hal_user_t user, const char * const newpin, const size_t newpin_len); |