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/session.c | |
parent | 58466648aa84ea10c20213d4665c5c93dbf285e9 (diff) | |
download | p11-kit-570403f3421b222167196d380c60eb8430eb4cd7.tar.gz |
trust: Add index callback for when an object is removed
This allows a token to remove the file if desired
Diffstat (limited to 'trust/session.c')
-rw-r--r-- | trust/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/session.c b/trust/session.c index 76a9acf..b93a5c3 100644 --- a/trust/session.c +++ b/trust/session.c @@ -61,7 +61,7 @@ p11_session_new (p11_token *token) session->builder = p11_builder_new (P11_BUILDER_FLAG_NONE); return_val_if_fail (session->builder, NULL); - session->index = p11_index_new (p11_builder_build, NULL, + session->index = p11_index_new (p11_builder_build, NULL, NULL, p11_builder_changed, session->builder); return_val_if_fail (session->index != NULL, NULL); |