summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-06-30 03:51:48 +0000
committerKen Raeburn <raeburn@mit.edu>2006-06-30 03:51:48 +0000
commit2316e1c4159552a897ac267e04ae0b84f08fa8b5 (patch)
tree7a527c1b0988ce582f4a4ef7f42040394f232564 /src/include
parent3f2442bbf3cc7625484da7aaaa57d5d3c7cf6db6 (diff)
downloadkrb5-2316e1c4159552a897ac267e04ae0b84f08fa8b5.tar.gz
krb5-2316e1c4159552a897ac267e04ae0b84f08fa8b5.tar.xz
krb5-2316e1c4159552a897ac267e04ae0b84f08fa8b5.zip
New kdb backend operation promote_db, makes a temporary database become the
live database. New function krb5_db_promote invokes it. ticket: 3964 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18282 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/kdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/kdb.h b/src/include/kdb.h
index 694c6f1c7..d9fb61886 100644
--- a/src/include/kdb.h
+++ b/src/include/kdb.h
@@ -238,6 +238,7 @@ krb5_error_code kdb5_db_create ( krb5_context kcontext, char **db_args );
krb5_error_code krb5_db_fini ( krb5_context kcontext );
const char * krb5_db_errcode2string ( krb5_context kcontext, long err_code );
krb5_error_code krb5_db_destroy ( krb5_context kcontext, char **db_args );
+krb5_error_code krb5_db_promote ( krb5_context kcontext, char **db_args );
krb5_error_code krb5_db_get_age ( krb5_context kcontext, char *db_name, time_t *t );
krb5_error_code krb5_db_set_option ( krb5_context kcontext, int option, void *value );
krb5_error_code krb5_db_lock ( krb5_context kcontext, int lock_mode );