]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-ktc-prototypes-20080630
authorRuss Allbery <rra@stanford.edu>
Mon, 30 Jun 2008 21:40:32 +0000 (21:40 +0000)
committerRuss Allbery <rra@stanford.edu>
Mon, 30 Jun 2008 21:40:32 +0000 (21:40 +0000)
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)

src/auth/auth.p.h

index 0a9d932579bd4a35f9f8ce310376837a4cdb35a6..d59755c9e052a832c094cfb1712064b612107a78 100644 (file)
@@ -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 */