From: Russ Allbery Date: Mon, 30 Jun 2008 21:40:32 +0000 (+0000) Subject: STABLE14-ktc-prototypes-20080630 X-Git-Tag: openafs-stable-1_4_8pre1~61 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3d5f71516c7f73f6a06bbe86c2f7556af72d7257;p=packages%2Fo%2Fopenafs.git STABLE14-ktc-prototypes-20080630 LICENSE IPL10 Expose the ktc_* prototypes on non-Windows systems. This is a partial backport of ktc-cleanup-20070208 from HEAD containing only the move of the #ifdef. (Debian Bug#449432) --- diff --git a/src/auth/auth.p.h b/src/auth/auth.p.h index 0a9d93257..d59755c9e 100644 --- a/src/auth/auth.p.h +++ b/src/auth/auth.p.h @@ -24,7 +24,6 @@ struct ktc_token { char ticket[MAXKTCTICKETLEN]; }; -#ifdef AFS_NT40_ENV extern int ktc_SetToken(struct ktc_principal *server, struct ktc_token *token, struct ktc_principal *client, afs_int32 flags); @@ -38,6 +37,8 @@ extern int ktc_ForgetToken(struct ktc_principal *server); extern int ktc_ForgetAllTokens(void); +#ifdef AFS_NT40_ENV + /* Flags for the flag word sent along with a token */ #define PIOCTL_LOGON 0x1 /* invoked from integrated logon */