Searched refs:cc_context_t (Results 1 - 15 of 15) sorted by relevance

/macosx-10.9.5/MITKerberosShim-62.1/mittestcc/
H A Dtest_ccapi_context.h7 cc_int32 check_once_cc_initialize(cc_context_t *out_context, cc_int32 in_version, cc_int32 *out_supported_version, char const **out_vendor, cc_int32 expected_err, const char *description);
9 cc_int32 check_once_cc_context_get_version(cc_context_t *out_context, cc_int32 in_version, cc_int32 *out_supported_version, char const **out_vendor, cc_int32 expected_err, const char *description);
11 cc_int32 check_once_cc_context_release(cc_context_t *out_context, cc_int32 expected_err, const char *description);
13 cc_int32 check_once_cc_context_get_change_time(cc_context_t context, cc_time_t *time, cc_int32 expected_err, const char *description);
15 cc_int32 check_once_cc_context_get_default_ccache_name(cc_context_t context, cc_string_t *name, cc_int32 expected_err, const char *description);
17 cc_int32 check_once_cc_context_open_ccache(cc_context_t context, const char *name, cc_ccache_t *ccache, cc_int32 expected_err, const char *description);
19 cc_int32 check_once_cc_context_open_default_ccache(cc_context_t context, cc_ccache_t *ccache, cc_int32 expected_err, const char *description);
21 cc_int32 check_once_cc_context_create_ccache(cc_context_t context, const char *name, cc_uint32 cred_vers, const char *principal, cc_ccache_t *ccache, cc_int32 expected_err, const char *description);
23 cc_int32 check_once_cc_context_create_default_ccache(cc_context_t context, cc_uint32 cred_vers, const char *principal, cc_ccache_t *ccache, cc_int32 expected_err, const char *description);
25 cc_int32 check_once_cc_context_create_new_ccache(cc_context_t contex
[all...]
H A Dtest_ccapi_util.h7 cc_int32 destroy_all_ccaches(cc_context_t context);
H A Dsimple_lock_test.c27 cc_context_t context = NULL;
50 cc_context_t context = NULL;
H A Dtest_ccapi_ccache.h7 cc_int32 check_once_cc_ccache_release(cc_context_t context, cc_ccache_t ccache, cc_int32 expected_err, const char *description);
9 cc_int32 check_once_cc_ccache_destroy(cc_context_t context, cc_ccache_t ccache, cc_int32 expected_err, const char *description);
11 cc_int32 check_once_cc_ccache_set_default(cc_context_t context, cc_ccache_t ccache, cc_int32 expected_err, const char *description);
H A Dtest_ccapi_context.c9 cc_context_t context = NULL;
29 cc_int32 check_once_cc_initialize(cc_context_t *out_context, cc_int32 in_version, cc_int32 *out_supported_version, char const **out_vendor, cc_int32 expected_err, const char *description) {
31 cc_context_t context;
68 cc_context_t context = NULL;
92 cc_int32 check_once_cc_context_release(cc_context_t *out_context, cc_int32 expected_err, const char *description) {
94 cc_context_t context = NULL;
135 cc_context_t context = NULL;
237 cc_int32 check_once_cc_context_get_change_time(cc_context_t context, cc_time_t *time, cc_int32 expected_err, const char *description) {
277 cc_context_t context = NULL;
315 cc_int32 check_once_cc_context_get_default_ccache_name(cc_context_t contex
[all...]
H A Dtest_ccapi_ccache.c16 cc_context_t context = NULL;
46 cc_int32 check_once_cc_ccache_release(cc_context_t context, cc_ccache_t ccache, cc_int32 expected_err, const char *description) {
90 cc_context_t context = NULL;
120 cc_int32 check_once_cc_ccache_destroy(cc_context_t context, cc_ccache_t ccache, cc_int32 expected_err, const char *description) {
164 cc_context_t context = NULL;
226 cc_int32 check_once_cc_ccache_set_default(cc_context_t context, cc_ccache_t ccache, cc_int32 expected_err, const char *description) {
283 cc_context_t context = NULL;
404 cc_context_t context = NULL;
561 cc_context_t context = NULL;
634 cc_context_t contex
[all...]
H A Dpingtest.c70 cc_context_t context = NULL;
H A Dtest_ccapi_iterators.c10 cc_context_t context = NULL;
129 cc_context_t context = NULL;
H A Dtest_ccapi_util.c12 cc_int32 destroy_all_ccaches(cc_context_t context) {
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dkrb5_ccapi.h92 typedef struct cc_context_t *cc_context_t; typedef in typeref:struct:cc_context_t
210 cc_int32 (*release)(cc_context_t);
211 cc_int32 (*get_change_time)(cc_context_t, cc_time_t *);
212 cc_int32 (*get_default_ccache_name)(cc_context_t, cc_string_t*);
213 cc_int32 (*open_ccache)(cc_context_t, const char*, cc_ccache_t *);
214 cc_int32 (*open_default_ccache)(cc_context_t, cc_ccache_t*);
215 cc_int32 (*create_ccache)(cc_context_t,const char*, cc_uint32,
217 cc_int32 (*create_default_ccache)(cc_context_t, cc_uint32,
219 cc_int32 (*create_new_ccache)(cc_context_t, cc_uint3
227 struct cc_context_t { struct
[all...]
H A Dacache.c55 cc_context_t context;
892 cc_context_t context;
1017 cc_context_t cc;
/macosx-10.9.5/MITKerberosShim-62.1/include/
H A Dmit-CredentialsCache.h87 * \li \ref cc_context_f "cc_context_t Functions"
172 * Every object returned by the API (cc_context_t, cc_ccache_t, cc_ccache_iterator_t,
183 * get_change_time() on a cc_context_t, one would call cc_initialize() which creates
184 * a new cc_context_t and then call its get_change_time(), like this:
187 * cc_context_t context;
408 * \defgroup cc_context_reference cc_context_t Overview
411 * The cc_context_t type gives the caller access to a ccache collection.
413 * needs to acquire an instance of cc_context_t by calling cc_initialize().
427 typedef cc_context_d *cc_context_t; typedef
675 * Function pointer table for cc_context_t
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/CredentialsCache/
H A DCredentialsCache.h254 /* $Copyright: * * Copyright 1998-2000 by the Massachusetts Institute of Technology. * * All rights reserved. * * Export of this software from the United States of America may require a * specific license from the United States Government. It is the * responsibility of any person or organization contemplating export to * obtain such a license before exporting. * * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and distribute * this software and its documentation for any purpose and without fee is * hereby granted, provided that the above copyright notice appear in all * copies and that both that copyright notice and this permission notice * appear in supporting documentation, and that the name of M.I.T. not be * used in advertising or publicity pertaining to distribution of the * software without specific, written prior permission. Furthermore if you * modify this software you must label your software as modified software * and not distribute it in such a fashion that it might be confused with * the original MIT software. M.I.T. makes no representations about the * suitability of this software for any purpose. It is provided "as is" * without express or implied warranty. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * * Individual source code files are copyright MIT, Cygnus Support, * OpenVision, Oracle, Sun Soft, FundsXpress, and others. * * Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira, * and Zephyr are trademarks of the Massachusetts Institute of Technology * (MIT). No commercial use of these trademarks may be made without prior * written permission of MIT. * * "Commercial use" means use of a name in a product or other for-profit * manner. It does NOT prevent a commercial firm from referring to the MIT * trademarks in order to convey information (although in doing so, * recognition of their trademark status should be given). * $ */ /* $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/CredentialsCache/CredentialsCache.h,v 1.4 2005/01/10 19:17:31 snsimon Exp $ */ /* * Declarations for Credentials Cache API Library * * API specification: <http://web.mit.edu/pismere/kerberos/ccache-api-v2.html> * * Revision 1: Frank Dabek, 6/4/1998 * Revision 2: meeroh, 2/24/1999 * Revision 3: meeroh, 11/12/1999 * */ #ifndef __CREDENTIALSCACHE__ #define __CREDENTIALSCACHE__ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #include <KerberosSupport/KerberosConditionalMacros.h> #if TARGET_API_MAC_OSX && TARGET_API_MAC_CARBON #include <CoreServices/CoreServices.h> #elif TARGET_API_MAC_OS8 || TARGET_API_MAC_CARBON #include <MacTypes.h> #else #error "Unknown OS; no system types available" #endif #if PRAGMA_IMPORT # pragma import on #endif /* This stuff is to make sure that we always use the same compiler options for this header file. Otherwise we get really exciting failure modes -- meeroh */ #if PRAGMA_STRUCT_ALIGN #pragma options align=mac68k4byte #elif PRAGMA_STRUCT_PACKPUSH #pragma pack(push, 4) #elif PRAGMA_STRUCT_PACK #pragma pack(4) #endif #if PRAGMA_ENUM_ALWAYSINT #pragma enumsalwaysint on #endif #if TARGET_CPU_68K #pragma fourbyteints on #endif /* * Constants */ /* API versions */ enum { ccapi_version_2 = 2, ccapi_version_3 = 3, ccapi_version_4 = 4 }; /* Errors */ enum { ccNoError = 0, ccIteratorEnd = 201, ccErrBadParam, ccErrNoMem, ccErrInvalidContext, ccErrInvalidCCache, ccErrInvalidString, /* 206 */ ccErrInvalidCredentials, ccErrInvalidCCacheIterator, ccErrInvalidCredentialsIterator, ccErrInvalidLock, ccErrBadName, /* 211 */ ccErrBadCredentialsVersion, ccErrBadAPIVersion, ccErrContextLocked, ccErrContextUnlocked, ccErrCCacheLocked, /* 216 */ ccErrCCacheUnlocked, ccErrBadLockType, ccErrNeverDefault, ccErrCredentialsNotFound, ccErrCCacheNotFound, /* 221 */ ccErrContextNotFound, ccErrServerUnavailable }; /* Credentials versions */ enum { cc_credentials_v4 = 1, cc_credentials_v5 = 2, cc_credentials_v4_v5 = 3 }; /* * Basic types */ typedef UInt32 cc_uint32; typedef SInt32 cc_int32; typedef cc_uint32 cc_time_t; /* * API types */ /* Forward declarations */ struct cc_context_f; typedef struct cc_context_f cc_context_f; struct cc_ccache_f; typedef struct cc_ccache_f cc_ccache_f; struct cc_ccache_iterator_f; typedef struct cc_ccache_iterator_f cc_ccache_iterator_f; struct cc_ccache_iterator_f; typedef struct cc_credentials_iterator_f cc_credentials_iterator_f; struct cc_string_f; typedef struct cc_string_f cc_string_f; struct cc_credentials_f; typedef struct cc_credentials_f cc_credentials_f; /* Credentials types */ enum { /* Make sure all of these are multiples of four (for alignment sanity) */ cc_v4_name_size = 40, cc_v4_instance_size = 40, cc_v4_realm_size = 40, cc_v4_ticket_size = 1254 }; enum cc_string_to_key_type { cc_v4_stk_afs = 0, cc_v4_stk_des = 1, cc_v4_stk_columbia_special = 2, cc_v4_stk_unknown = 3 }; struct cc_credentials_v4_t { cc_uint32 version; char principal [cc_v4_name_size]; char principal_instance [cc_v4_instance_size]; char service [cc_v4_name_size]; char service_instance [cc_v4_instance_size]; char realm [cc_v4_realm_size]; unsigned char session_key [8]; cc_int32 kvno; cc_int32 string_to_key_type; cc_time_t issue_date; cc_int32 lifetime; cc_uint32 address; cc_int32 ticket_size; unsigned char ticket [cc_v4_ticket_size]; }; typedef struct cc_credentials_v4_t cc_credentials_v4_t; struct cc_data { cc_uint32 type; cc_uint32 length; void* data; }; typedef struct cc_data cc_data; struct cc_credentials_v5_t { char* client; char* server; cc_data keyblock; cc_time_t authtime; cc_time_t starttime; cc_time_t endtime; cc_time_t renew_till; cc_uint32 is_skey; cc_uint32 ticket_flags; cc_data** addresses; cc_data ticket; cc_data second_ticket; cc_data** authdata; }; typedef struct cc_credentials_v5_t cc_credentials_v5_t; struct cc_credentials_union { cc_int32 version; union { cc_credentials_v4_t* credentials_v4; cc_credentials_v5_t* credentials_v5; } credentials; }; typedef struct cc_credentials_union cc_credentials_union; /* Exposed parts */ struct cc_context_d { const cc_context_f* functions; #if TARGET_OS_MAC const cc_context_f* otherFunctions; #endif }; typedef struct cc_context_d cc_context_d; typedef cc_context_d* cc_context_t; struct cc_ccache_d { const cc_ccache_f* functions; #if TARGET_OS_MAC const cc_ccache_f* otherFunctions; #endif }; typedef struct cc_ccache_d cc_ccache_d; typedef cc_ccache_d* cc_ccache_t; struct cc_ccache_iterator_d { const cc_ccache_iterator_f* functions; #if TARGET_OS_MAC const cc_ccache_iterator_f* otherFunctions; #endif }; typedef struct cc_ccache_iterator_d cc_ccache_iterator_d; typedef cc_ccache_iterator_d* cc_ccache_iterator_t; struct cc_credentials_iterator_d { const cc_credentials_iterator_f* functions; #if TARGET_OS_MAC const cc_credentials_iterator_f* otherFunctions; #endif }; typedef struct cc_credentials_iterator_d cc_credentials_iterator_d; typedef cc_credentials_iterator_d* cc_credentials_iterator_t; struct cc_string_d { const char* data; const cc_string_f* functions; #if TARGET_OS_MAC const cc_string_f* otherFunctions; #endif }; typedef struct cc_string_d cc_string_d; typedef cc_string_d* cc_string_t; struct cc_credentials_d { const cc_credentials_union* data; const cc_credentials_f* functions; #if TARGET_OS_MAC const cc_credentials_f* otherFunctions; #endif }; typedef struct cc_credentials_d cc_credentials_d; typedef cc_credentials_d* cc_credentials_t; /* Function pointer structs */ struct cc_context_f { cc_int32 (*release) ( cc_context_t context); cc_int32 (*get_change_time) ( cc_context_t context, cc_time_t* time); cc_int32 (*get_default_ccache_name) ( cc_context_t context, cc_string_t* name); cc_int32 (*open_ccache) ( cc_context_t context, const char* name, cc_ccache_t* ccache); cc_int32 (*open_default_ccache) ( cc_context_t context, cc_ccache_t* ccache); cc_int32 (*create_ccache) ( cc_context_t context, const char* name, cc_uint32 cred_vers, const char* principal, cc_ccache_t* ccache); cc_int32 (*create_default_ccache) ( cc_context_t context, cc_uint32 cred_vers, const char* principal, cc_ccache_t* ccache); cc_int32 (*create_new_ccache) ( cc_context_t context, cc_uint32 cred_vers, const char* principal, cc_ccache_t* ccache); cc_int32 (*new_ccache_iterator) ( cc_context_t contex
1 /* $Copyright: typedef
[all...]
/macosx-10.9.5/MITKerberosShim-62.1/Kerberos/
H A DCredentialsCache.h100 * \li \ref cc_context_f "cc_context_t Functions"
185 * Every object returned by the API (cc_context_t, cc_ccache_t, cc_ccache_iterator_t,
196 * get_change_time() on a cc_context_t, one would call cc_initialize() which creates
197 * a new cc_context_t and then call its get_change_time(), like this:
200 * cc_context_t context;
421 * \defgroup cc_context_reference cc_context_t Overview
424 * The cc_context_t type gives the caller access to a ccache collection.
426 * needs to acquire an instance of cc_context_t by calling cc_initialize().
440 typedef cc_context_d *cc_context_t; typedef
688 * Function pointer table for cc_context_t
[all...]
/macosx-10.9.5/MITKerberosShim-62.1/
H A Dccache.c964 context_release(cc_context_t io_context)
974 context_get_change_time(cc_context_t in_context,
985 context_get_default_ccache_name(cc_context_t in_context,
1024 context_open_ccache (cc_context_t in_context,
1053 context_open_default_ccache(cc_context_t in_context,
1079 context_create_ccache(cc_context_t in_context,
1119 context_create_default_ccache(cc_context_t in_context,
1167 context_create_new_ccache(cc_context_t in_context,
1209 context_new_ccache_iterator(cc_context_t in_context,
1235 context_lock(cc_context_t in_contex
[all...]

Completed in 205 milliseconds