From cd6b6ac10f96cfb097b89e89866f26a894060ca2 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 19 Jan 1990 10:25:38 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@137 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/kdb_dbm.h | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/include/krb5/kdb_dbm.h diff --git a/src/include/krb5/kdb_dbm.h b/src/include/krb5/kdb_dbm.h new file mode 100644 index 000000000..919234f4b --- /dev/null +++ b/src/include/krb5/kdb_dbm.h @@ -0,0 +1,53 @@ +/* + * $Source$ + * $Author$ + * $Id$ + * + * Copyright 1990 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * KDC Database interface definitions. + */ + +#include + +#ifndef __KRB5_KDB5_DBM__ +#define __KRB5_KDB5_DBM__ + +/* libkdb.spec */ +krb5_error_code krb5_dbm_db_set_name + PROTOTYPE((char *name )); +krb5_error_code krb5_dbm_db_set_nonblocking + PROTOTYPE((krb5_boolean newmode, + krb5_boolean *oldmode )); +krb5_error_code krb5_dbm_db_init + PROTOTYPE((void )); +krb5_error_code krb5_dbm_db_fini + PROTOTYPE((void )); +krb5_error_code krb5_dbm_db_get_age + PROTOTYPE((char *db_name, + krb5_timestamp *age )); +krb5_error_code krb5_dbm_db_create + PROTOTYPE((char *db_name )); +krb5_error_code krb5_dbm_db_rename + PROTOTYPE((char *from, + char *to )); +krb5_error_code krb5_dbm_db_get_principal + PROTOTYPE((krb5_principal searchfor, + krb5_kdb_principal *principal, + int *nprincs, + krb5_boolean *more )); +krb5_error_code krb5_dbm_db_free_principal + PROTOTYPE((krb5_kdb_principal *principal, + int nprincs )); +krb5_error_code krb5_dbm_db_put_principal + PROTOTYPE((krb5_kdb_principal *principal, + int nprincs, + int *nstored )); +krb5_error_code krb5_dbm_db_iterate + PROTOTYPE((krb5_error_code (*func ) PROTOTYPE((krb5_pointer, + krb5_kdb_principal *)), + krb5_pointer iterate_arg )); +#endif /* __KRB5_KDB5_DBM__ */ -- 2.26.2