projects
/
mod_auth_kerb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
45ff330
)
Added suffix '_internal' to all definitions copied from provate MIT header to avoid...
author
kouril
<kouril>
Mon, 3 May 2004 06:46:22 +0000
(06:46 +0000)
committer
kouril
<kouril>
Mon, 3 May 2004 06:46:22 +0000
(06:46 +0000)
src/mit-internals.h
patch
|
blob
|
history
src/mod_auth_kerb.c
patch
|
blob
|
history
diff --git
a/src/mit-internals.h
b/src/mit-internals.h
index
b240028
..
38c1a6b
100644
(file)
--- a/
src/mit-internals.h
+++ b/
src/mit-internals.h
@@
-104,16
+104,16
@@
*/
/* Definition from MIT krb5-1.3.3 krb5.h */
*/
/* Definition from MIT krb5-1.3.3 krb5.h */
-typedef struct _krb5_donot_replay {
+typedef struct _krb5_donot_replay
_internal
{
krb5_magic magic;
char *server; /* null-terminated */
char *client; /* null-terminated */
krb5_int32 cusec;
krb5_timestamp ctime;
krb5_magic magic;
char *server; /* null-terminated */
char *client; /* null-terminated */
krb5_int32 cusec;
krb5_timestamp ctime;
-} krb5_donot_replay;
+} krb5_donot_replay
_internal
;
/* Definitions from MIT krb5-1.3.3 k5-int.h */
/* Definitions from MIT krb5-1.3.3 k5-int.h */
-struct _krb5_rc_ops {
+struct _krb5_rc_ops
_internal
{
krb5_magic magic;
char *type;
krb5_error_code (KRB5_CALLCONV *init)
krb5_magic magic;
char *type;
krb5_error_code (KRB5_CALLCONV *init)
@@
-125,7
+125,7
@@
struct _krb5_rc_ops {
krb5_error_code (KRB5_CALLCONV *close)
(krb5_context, krb5_rcache);
krb5_error_code (KRB5_CALLCONV *store)
krb5_error_code (KRB5_CALLCONV *close)
(krb5_context, krb5_rcache);
krb5_error_code (KRB5_CALLCONV *store)
- (krb5_context, krb5_rcache,krb5_donot_replay *);
+ (krb5_context, krb5_rcache,krb5_donot_replay
_internal
*);
krb5_error_code (KRB5_CALLCONV *expunge)
(krb5_context, krb5_rcache);
krb5_error_code (KRB5_CALLCONV *get_span)
krb5_error_code (KRB5_CALLCONV *expunge)
(krb5_context, krb5_rcache);
krb5_error_code (KRB5_CALLCONV *get_span)
@@
-136,7
+136,7
@@
struct _krb5_rc_ops {
(krb5_context, krb5_rcache, char *);
};
(krb5_context, krb5_rcache, char *);
};
-typedef struct _krb5_rc_ops
krb5_rc_ops
;
+typedef struct _krb5_rc_ops
_internal krb5_rc_ops_internal
;
/* Definitions from MIT krb5-1.3.3 rc_dfl.h */
extern krb5_error_code KRB5_CALLCONV krb5_rc_dfl_init
/* Definitions from MIT krb5-1.3.3 rc_dfl.h */
extern krb5_error_code KRB5_CALLCONV krb5_rc_dfl_init
@@
-172,7
+172,7
@@
extern krb5_error_code KRB5_CALLCONV krb5_rc_dfl_resolve
* the definition in krb5.h */
struct krb5_rc_st_internal {
krb5_magic magic;
* the definition in krb5.h */
struct krb5_rc_st_internal {
krb5_magic magic;
- const struct _krb5_rc_ops *ops;
+ const struct _krb5_rc_ops
_internal
*ops;
krb5_pointer data;
};
krb5_pointer data;
};
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
88da90b
..
b037ed0
100644
(file)
--- a/
src/mod_auth_kerb.c
+++ b/
src/mod_auth_kerb.c
@@
-198,13
+198,13
@@
static const command_rec kerb_auth_cmds[] = {
/* This is our replacement krb5_rc_store function */
static krb5_error_code
mod_auth_kerb_rc_store(krb5_context context, krb5_rcache rcache,
/* This is our replacement krb5_rc_store function */
static krb5_error_code
mod_auth_kerb_rc_store(krb5_context context, krb5_rcache rcache,
-
krb5_donot_replay
*donot_replay)
+
krb5_donot_replay_internal
*donot_replay)
{
return 0;
}
/* And this is the operations vector for our replay cache */
{
return 0;
}
/* And this is the operations vector for our replay cache */
-const krb5_rc_ops mod_auth_kerb_rc_ops = {
+const krb5_rc_ops
_internal
mod_auth_kerb_rc_ops = {
0,
"dfl",
krb5_rc_dfl_init,
0,
"dfl",
krb5_rc_dfl_init,