summaryrefslogtreecommitdiff
path: root/trust/index.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-06-28 17:19:22 +0200
committerStef Walter <stef@thewalter.net>2013-07-03 11:46:28 +0200
commit1c4522e5df79bd197feab8448008fc2bf6b4ea2e (patch)
treeb33284d2501cb32a6cf9fc0e9b0983220c174fb7 /trust/index.c
parent17bc43cb82320f2aba4ccb804bd8599232524c6a (diff)
downloadp11-kit-1c4522e5df79bd197feab8448008fc2bf6b4ea2e.tar.gz
trust: Rename p11_index_batch() to p11_index_load()
The name makes it clearer what's going on. This is only used during loading, so we can track whether a change has resulted from the trust module or from the file storage.
Diffstat (limited to 'trust/index.c')
-rw-r--r--trust/index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trust/index.c b/trust/index.c
index 4de65c9..4743397 100644
--- a/trust/index.c
+++ b/trust/index.c
@@ -313,7 +313,7 @@ index_notify (p11_index *index,
}
void
-p11_index_batch (p11_index *index)
+p11_index_load (p11_index *index)
{
return_if_fail (index != NULL);
@@ -351,7 +351,7 @@ p11_index_finish (p11_index *index)
}
bool
-p11_index_in_batch (p11_index *index)
+p11_index_loading (p11_index *index)
{
return_val_if_fail (index != NULL, false);
return index->changes ? true : false;