[pullup from 1-2-2-branch]
2002-06-20 Alexandra Ellwood <lxs@mit.edu>
* stdcc.h: Added prototype for krb5_stdcc_shutdown.
* stdcc.h, stdcc_util.h, stdcc_util.c: Updated Mac OS X headers to new
framework layout
* stdcc.c: Removed unused variables and fixed macros to reduce warnings
[pullups from 1-2-2-branch]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14550
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-06-20 Danilo Almeida <dalmeida@mit.edu>
+
+ * winccld.c: Include k5-int.h to get hidden ops struct.
+ [pullup from 1-2-2-branch]
+
+2002-06-20 Alexandra Ellwood <lxs@mit.edu>
+
+ * stdcc.h: Added prototype for krb5_stdcc_shutdown.
+
+ * stdcc.h, stdcc_util.h, stdcc_util.c: Updated Mac OS X headers to new
+ framework layout
+
+ * stdcc.c: Removed unused variables and fixed macros to reduce warnings
+
+ [pullups from 1-2-2-branch]
+
+2002-06-20 Miro Jurisic <meeroh@mit.edu>
+
+ * stdcc.c: Replaced cc_* macros with functions
+ * stdcc.h, stdcc_util.h: Updated Mac OS #defines and #includes for new
+ header layout and Mac OS X frameworks
+ [pullup from 1-2-2-branch]
+
2002-04-01 Danilo Almeida <dalmeida@mit.edu>
* stdcc_util.c: Include errno.h.
#include "stdcc.h"
#include "stdcc_util.h"
#include "string.h"
+#include "k5-int.h"
#include <stdio.h>
apiCB *gCntrlBlock = NULL;
stdccCacheDataPtr ccapi_data = NULL;
int err;
krb5_error_code retval;
- char *cName;
+ char *cName = NULL;
if ((retval = stdcc_setup(context, NULL)))
return retval;
krb5_error_code retval;
stdccCacheDataPtr ccapi_data = NULL;
int err;
+#ifndef CC_API_VER2
cred_union *credU = NULL;
+#endif
ccapi_data = id->data;
const char * KRB5_CALLCONV krb5_stdcc_get_name
(krb5_context context, krb5_ccache id )
{
- char *name = NULL;
stdccCacheDataPtr ccapi_data = id->data;
if (!ccapi_data)
#include "krb5.h"
#include "k5-int.h"
-#if defined(macintosh)
-#include "CCache2.h"
+#if TARGET_OS_MAC
+#include <Kerberos/CredentialsCache2.h>
#endif
#if defined(_WIN32)
/* function protoypes */
+void krb5_stdcc_shutdown(void);
+
krb5_error_code KRB5_CALLCONV krb5_stdcc_close
(krb5_context, krb5_ccache id );
memcpy(dest->keyblock.contents, src->keyblock.data, dest->keyblock.length);
/* copy times */
-#ifdef macintosh
+#if TARGET_OS_MAC
err = krb5_get_time_offsets(context, &offset_seconds, &offset_microseconds);
if (err) return;
#endif
c->keyblock.data = NULL;
}
-#ifdef macintosh
+#if TARGET_OS_MAC
err = krb5_get_time_offsets(context, &offset_seconds, &offset_microseconds);
if (err) return;
#endif
* Frank Dabek, July 1998
*/
-#if defined(macintosh)
-#include "CCache2.h"
+#if TARGET_OS_MAC
+#include <Kerberos/CredentialsCache2.h>
#endif
#if defined(_WIN32)
#include <windows.h>
#include <stdio.h>
#include "stdcc.h"
+#include "k5-int.h"
/* from fcc-proto.h */
extern krb5_cc_ops krb5_fcc_ops;