summaryrefslogtreecommitdiffstats
path: root/src/include/k5-int.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2008-06-02 19:45:16 +0000
committerKen Raeburn <raeburn@mit.edu>2008-06-02 19:45:16 +0000
commit7da16b5b7cc56806bd7fbff3295ce9e9e18efba0 (patch)
tree56e0af85ca50e2923edb459dab698c2705c55a15 /src/include/k5-int.h
parent05a3a63f0fb79e713afdd3311107542a77739853 (diff)
downloadkrb5-7da16b5b7cc56806bd7fbff3295ce9e9e18efba0.tar.gz
krb5-7da16b5b7cc56806bd7fbff3295ce9e9e18efba0.tar.xz
krb5-7da16b5b7cc56806bd7fbff3295ce9e9e18efba0.zip
Change krb5_context.db_context to point to the real structure type,
and change uses to not cast all the time. Also rename it from db_context to dal_handle, since one of the fields in the pointed-to structure is also called db_context. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20348 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/k5-int.h')
-rw-r--r--src/include/k5-int.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 2fb23dd51..5e1fd113a 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1989,1990,1991,1992,1993,1994,1995,2000,2001, 2003,2006,2007 by the Massachusetts Institute of Technology,
+ * Copyright (C) 1989,1990,1991,1992,1993,1994,1995,2000,2001, 2003,2006,2007,2008 by the Massachusetts Institute of Technology,
* Cambridge, MA, USA. All Rights Reserved.
*
* This software is being provided to you, the LICENSEE, by the
@@ -1125,6 +1125,8 @@ void KRB5_CALLCONV krb5_free_pa_enc_ts
#include "com_err.h"
#include "k5-plugin.h"
+struct _kdb5_dal_handle; /* private, in kdb5.h */
+typedef struct _kdb5_dal_handle kdb5_dal_handle;
struct _krb5_context {
krb5_magic magic;
krb5_enctype *in_tkt_ktypes;
@@ -1134,7 +1136,7 @@ struct _krb5_context {
struct _krb5_os_context os_context;
char *default_realm;
profile_t profile;
- void *db_context;
+ kdb5_dal_handle *dal_handle;
int ser_ctx_count;
void *ser_ctx;
/* allowable clock skew */