From 7a97483d469fb8e44c6703767e432278be315a6c Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Wed, 5 Mar 2003 23:49:36 +0000 Subject: [PATCH] Remove kdb_dbm.h as it is unused git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15235 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 4 ++ src/include/krb5/kdb_dbm.h | 120 ------------------------------------- 2 files changed, 4 insertions(+), 120 deletions(-) delete mode 100644 src/include/krb5/kdb_dbm.h diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 66a48e3e6..226b0a5ae 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,7 @@ +2003-03-05 Sam Hartman + + * Remove kdb_dbm.h + 2002-11-05 Tom Yu * kdb.h (KRB5_KDC_MKEY_1, KRB5_KDC_MKEY_2): Remove trailing colon, diff --git a/src/include/krb5/kdb_dbm.h b/src/include/krb5/kdb_dbm.h deleted file mode 100644 index 73f7f6218..000000000 --- a/src/include/krb5/kdb_dbm.h +++ /dev/null @@ -1,120 +0,0 @@ -/* - * include/krb5/kdb_dbm.h - * - * Copyright 1990,1991 by the Massachusetts Institute of Technology. - * All Rights Reserved. - * - * Export of this software from the United States of America may - * require a specific license from the United States Government. - * It is the responsibility of any person or organization contemplating - * export to obtain such a license before exporting. - * - * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and - * distribute this software and its documentation for any purpose and - * without fee is hereby granted, provided that the above copyright - * notice appear in all copies and that both that copyright notice and - * this permission notice appear in supporting documentation, and that - * the name of M.I.T. not be used in advertising or publicity pertaining - * to distribution of the software without specific, written prior - * permission. Furthermore if you modify this software you must label - * your software as modified software and not distribute it in such a - * fashion that it might be confused with the original M.I.T. software. - * M.I.T. makes no representations about the suitability of - * this software for any purpose. It is provided "as is" without express - * or implied warranty. - * - * - * KDC Database interface definitions. - */ - - -#ifndef KRB5_KDB5_DBM__ -#define KRB5_KDB5_DBM__ - -#if !defined(macintosh) && !defined(_WIN32) - -/* exclusive or shared lock flags */ -#define KRB5_DBM_SHARED 0 -#define KRB5_DBM_EXCLUSIVE 1 - -#define KRB5_DB_SHARED KRB5_DBM_SHARED -#define KRB5_DB_EXCLUSIVE KRB5_DBM_EXCLUSIVE - -/* #define these to avoid an indirection function; for future implementations, - these may be redirected from a dispatch table/routine */ -#define krb5_dbm_db_set_name krb5_db_set_name -#define krb5_dbm_db_set_nonblocking krb5_db_set_nonblocking -#define krb5_dbm_db_init krb5_db_init -#define krb5_dbm_db_fini krb5_db_fini -#define krb5_dbm_db_get_age krb5_db_get_age -#define krb5_dbm_db_create krb5_db_create -#define krb5_dbm_db_destroy kdb5_db_destroy -#define krb5_dbm_db_rename krb5_db_rename -#define krb5_dbm_db_get_principal krb5_db_get_principal -#define krb5_dbm_db_free_principal krb5_db_free_principal -#define krb5_dbm_db_put_principal krb5_db_put_principal -#define krb5_dbm_db_delete_principal krb5_db_delete_principal -#define krb5_dbm_db_iterate krb5_db_iterate -#define krb5_dbm_db_lock krb5_db_lock -#define krb5_dbm_db_unlock krb5_db_unlock -#define krb5_dbm_db_set_lockmode krb5_db_set_lockmode -#define krb5_dbm_db_close_database krb5_db_close_database -#define krb5_dbm_db_open_database krb5_db_open_database - -/* libkdb.spec */ -krb5_error_code krb5_dbm_db_set_name - (krb5_context, char * ); -krb5_error_code krb5_dbm_db_init - (krb5_context); -krb5_error_code krb5_dbm_db_fini - (krb5_context); -krb5_error_code krb5_dbm_db_get_age - (krb5_context, - char *, - time_t * ); -krb5_error_code krb5_dbm_db_create - (krb5_context, - char * ); -krb5_error_code krb5_dbm_db_destroy - (krb5_context, - char * ); -krb5_error_code krb5_dbm_db_rename - (krb5_context, - char *, - char * ); -krb5_error_code krb5_dbm_db_get_principal - (krb5_context, - krb5_const_principal, - krb5_db_entry *, - int *, - krb5_boolean * ); -void krb5_dbm_db_free_principal - (krb5_context, - krb5_db_entry *, - int ); -krb5_error_code krb5_dbm_db_delete_principal - (krb5_context, - krb5_const_principal, - int * ); -krb5_error_code krb5_dbm_db_put_principal - (krb5_context, - krb5_db_entry *, - int * ); -krb5_error_code krb5_dbm_db_iterate - (krb5_context, - krb5_error_code (*) (krb5_pointer, krb5_db_entry *), - krb5_pointer ); -krb5_error_code krb5_dbm_db_set_nonblocking - (krb5_context, - krb5_boolean, - krb5_boolean * ); -krb5_boolean krb5_dbm_db_set_lockmode - (krb5_context, - krb5_boolean ); -krb5_error_code krb5_dbm_db_open_database - (krb5_context); -krb5_error_code krb5_dbm_db_close_database - (krb5_context); - -#endif /* !defined(macintosh) && !defined(WIN32) */ -#endif /* KRB5_KDB5_DBM__ */ -- 2.26.2