/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
#include <afs/vice.h>
#include "auth.h"
#include <afs/afsutil.h>
+#include "token.h"
/* TBUFFERSIZE must be at least 512 larger than KTCMAXTICKETSIZE */
#define TBUFFERSIZE 12512
}
int
+ktc_SetTokenEx(struct ktc_setTokenData *token)
+{
+ /* Not yet implemented */
+ return KTC_PIOCTLFAIL;
+}
+
+int
ktc_GetToken(struct ktc_principal *server, struct ktc_token *token,
int tokenLen, struct ktc_principal *client)
{
/* user name is here */
- /* check that ticket will fit
+ /* check that ticket will fit
* this compares the size of the ktc_token allocated by the app
* which might be smaller than the current definition of MAXKTCTICKETLEN
*/
return 0;
}
+/*!
+ * Get a token, given the cell that we need to get information for
+ *
+ * @param cellName
+ * The name of the cell we're getting the token for - if NULL, we'll
+ * get information for the primary cell
+ */
+int
+ktc_GetTokenEx(char *cellName, struct ktc_setTokenData **tokenSet) {
+ return KTC_PIOCTLFAIL;
+}
+
int
ktc_ListTokens(int cellNum, int *cellNumP, struct ktc_principal *server)
{
UNLOCK_GLOBAL_MUTEX;
return KTC_NOENT;
}
+
+int
+ktc_ListTokensEx(int prevIndex, int *newIndex, char **cellName) {
+ /* Not yet implemented */
+ return KTC_PIOCTLFAIL;
+}
+