summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-01-19 10:25:38 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-01-19 10:25:38 +0000
commitcd6b6ac10f96cfb097b89e89866f26a894060ca2 (patch)
treee85e9170efed1603af6f8a2a86c14d595fc6d593 /src/include/krb5
parentd4f158a55ae2eb67190226b06fc57cbdfa244605 (diff)
downloadkrb5-cd6b6ac10f96cfb097b89e89866f26a894060ca2.tar.gz
krb5-cd6b6ac10f96cfb097b89e89866f26a894060ca2.tar.xz
krb5-cd6b6ac10f96cfb097b89e89866f26a894060ca2.zip
*** empty log message ***
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@137 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5')
-rw-r--r--src/include/krb5/kdb_dbm.h53
1 files changed, 53 insertions, 0 deletions
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
+ * <krb5/mit-copyright.h>.
+ *
+ * KDC Database interface definitions.
+ */
+
+#include <krb5/copyright.h>
+
+#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__ */