diff options
author | Stef Walter <stef@thewalter.net> | 2013-08-28 09:45:21 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-08-29 10:29:53 +0200 |
commit | 570403f3421b222167196d380c60eb8430eb4cd7 (patch) | |
tree | 5cd1351db179dfee24f0c586038fb13e7839414c /trust/index.h | |
parent | 58466648aa84ea10c20213d4665c5c93dbf285e9 (diff) |
trust: Add index callback for when an object is removed
This allows a token to remove the file if desired
Diffstat (limited to 'trust/index.h')
-rw-r--r-- | trust/index.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/trust/index.h b/trust/index.h index 192bfcd..3ae24a1 100644 --- a/trust/index.h +++ b/trust/index.h @@ -53,6 +53,10 @@ typedef CK_RV (* p11_index_store_cb) (void *data, CK_OBJECT_HANDLE handle, CK_ATTRIBUTE **attrs); +typedef CK_RV (* p11_index_remove_cb) (void *data, + p11_index *index, + CK_ATTRIBUTE *attrs); + typedef void (* p11_index_notify_cb) (void *data, p11_index *index, CK_OBJECT_HANDLE handle, @@ -60,6 +64,7 @@ typedef void (* p11_index_notify_cb) (void *data, p11_index * p11_index_new (p11_index_build_cb build, p11_index_store_cb store, + p11_index_remove_cb remove, p11_index_notify_cb notify, void *data); |