From efc47f47581bb164440b86e9e57382972a32dbe8 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 27 Feb 2018 18:00:08 +0100 Subject: Add hal_ks_available --- ks.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ks.h') diff --git a/ks.h b/ks.h index 559e46f..e1f865c 100644 --- a/ks.h +++ b/ks.h @@ -426,6 +426,8 @@ extern hal_error_t hal_ks_block_update(hal_ks_t *ks, const hal_uuid_t * const uuid, int *hint); +extern hal_error_t hal_ks_available(hal_ks_t *ks, size_t *count); + #endif /* _KS_H_ */ /* -- cgit v1.2.3 From 6cf71d88ba365ab50c8f246ed59e8f286544a522 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 24 Jul 2018 16:56:26 -0400 Subject: Housekeeping: Mark hal_ks_pin_uuid extern, so it doesn't get instantiated in each object module. --- ks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ks.h') diff --git a/ks.h b/ks.h index e1f865c..0649bcd 100644 --- a/ks.h +++ b/ks.h @@ -58,7 +58,7 @@ * the UUID generation code (by definition -- it's not a version 4 UUID). */ -const hal_uuid_t hal_ks_pin_uuid; +extern const hal_uuid_t hal_ks_pin_uuid; /* * Known block states. -- cgit v1.2.3