*
*/
+#if defined(_WIN32) || defined(USE_CCAPI)
+
#include "k5-int.h"
#include "stdcc.h"
#include "stdcc_util.h"
int err;
stdccCacheDataPtr ccapi_data = id->data;
krb5_error_code retval;
-
+
if ((retval = stdcc_setup(context, ccapi_data))) {
if (retval == KRB5_FCC_NOFILE)
return 0;
return 0;
}
#endif /* !USE_CCAPI_V3 */
+
+#endif /* defined(_WIN32) || defined(USE_CCAPI) */
+
+#if defined(_WIN32) || defined(USE_CCAPI)
+
#include "k5-int.h" /* loads krb5.h */
-
+
#ifdef USE_CCAPI_V3
#include <CredentialsCache.h>
#else
-#ifdef USE_CCAPI
-#include <CredentialsCache2.h>
-#else
#if defined(_WIN32)
#include "cacheapi.h"
-#endif
+#else
+#include <CredentialsCache2.h>
#endif
#endif
-
#define kStringLiteralLen 255
/* globals to be exported */
krb5_error_code KRB5_CALLCONV krb5_stdcc_remove
(krb5_context, krb5_ccache id , krb5_flags flags, krb5_creds *creds);
#endif
+
+#endif /* defined(_WIN32) || defined(USE_CCAPI) */
* Frank Dabek, July 1998
*/
+#if defined(_WIN32) || defined(USE_CCAPI)
+
#include <stdlib.h>
#include <string.h>
#include <errno.h>
if (((MATCH_SET(KRB5_TC_MATCH_SRV_NAMEONLY) &&
srvname_match(context, match, base)) ||
standard_fields_match(context, match, base))
- &&
+ &&
(! MATCH_SET(KRB5_TC_MATCH_IS_SKEY) ||
match->is_skey == base->is_skey)
&&
return FALSE;
}
-
+#endif /* defined(_WIN32) || defined(USE_CCAPI) */
* Frank Dabek, July 1998
*/
+#if defined(_WIN32) || defined(USE_CCAPI)
+
#include "autoconf.h"
#if USE_CCAPI_V3
#include <CredentialsCache.h>
#else
-#if USE_CCAPI
-#include <CredentialsCache2.h>
-#endif
-
#if defined(_WIN32)
#include "cacheapi.h"
+#else
+#include <CredentialsCache2.h>
#endif
#endif
#define kAddressArray 4
#define kAuthDataArray 5
+#endif /* defined(_WIN32) || defined(USE_CCAPI) */