diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-11-01 15:37:42 +0100 |
---|---|---|
committer | Daiki Ueno <dueno@redhat.com> | 2018-11-12 14:08:45 +0100 |
commit | 8ada9c280c9044644dfad1f234e3da32f0df86a0 (patch) | |
tree | f60f3a15e2d40fe02c27e5487a32a697bdb6ca34 /lib/gnutls_int.h | |
parent | 0a590e15e17383c5b18650465266da5f4cfd2af1 (diff) | |
download | gnutls-8ada9c280c9044644dfad1f234e3da32f0df86a0.tar.gz |
db: introduce gnutls_db_set_add_function
This adds a way to store an entry if it is not found in the database,
so that the implementation can provide atomic test-and-set.
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 73fcfcc9c8..42d68d4398 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -1216,6 +1216,7 @@ typedef struct { gnutls_db_store_func db_store_func; gnutls_db_retr_func db_retrieve_func; gnutls_db_remove_func db_remove_func; + gnutls_db_add_func db_add_func; void *db_ptr; /* post client hello callback (server side only) |