The node you are looking for is at
gnutls_db_set_remove_function
.