/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KClientDeprecated/ |
H A D | KClientDeprecated.h | 53 /*
* KClient 1.9 deprecated API
*
* $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KClientDeprecated/KClientDeprecated.h,v 1.4 2005/01/10 19:17:30 snsimon Exp $
*/
#ifndef __KCLIENTDEPRECATED__
#define __KCLIENTDEPRECATED__
#if PRAGMA_ONCE
#pragma once
#endif /* PRAGMA_ONCE */
#include <KerberosSupport/KerberosSupport.h>
#include <Kerberos4/Kerberos4.h>
#include <KClient/KClientTypes.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Important!
*
* The following functions are deprecated. They will be removed from the library
* and the header files in the future. See documentation for moving to KClient
* 3.0 API to see how you can update your code.
*/
OSStatus
KClientCacheInitialTicketDeprecated (
KClientSession* inSession,
char* inService);
OSStatus KClientGetLocalRealmDeprecated (
char* outRealm);
OSStatus KClientSetLocalRealmDeprecated (
const char* inRealm);
OSStatus KClientGetRealmDeprecated (
const char* inHost,
char* outRealm);
OSStatus KClientAddRealmMapDeprecated (
char* inHost,
char* inRealm);
OSStatus KClientDeleteRealmMapDeprecated (
char* inHost);
OSStatus KClientGetNthRealmMapDeprecated (
SInt32 inIndex,
char* outHost,
char* outRealm);
OSStatus KClientGetNthServerDeprecated (
SInt32 inIndex,
char* outHost,
char* inRealm,
Boolean inAdmin);
OSStatus KClientAddServerMapDeprecated (
char* inHost,
char* inRealm,
Boolean inAdmin);
OSStatus KClientDeleteServerMapDeprecated (
char* inHost,
char* inRealm);
OSStatus KClientGetNthServerMapDeprecated (
SInt32 inIndex,
char* outHost,
char* outRealm,
Boolean* outAdmin);
OSStatus KClientGetNthServerPortDeprecated (
SInt32 inIndex,
UInt16* outPort);
OSStatus KClientSetNthServerPortDeprecated (
SInt32 inIndex,
UInt16 inPort);
OSStatus KClientGetNumSessionsDeprecated (
SInt32* outSessions);
OSStatus KClientGetNthSessionDeprecated (
SInt32 inIndex,
char* outName,
char* outInstance,
char* outRealm);
OSStatus KClientDeleteSessionDeprecated (
char* inName,
char* inInstance,
char* inRealm);
OSStatus KClientGetCredentialsDeprecated (
char* inName,
char* inInstance,
char* inRealm,
CREDENTIALS* outCred);
OSStatus KClientAddCredentialsDeprecated (
char* inName,
char* inInstance,
char* inRealm,
CREDENTIALS* inCred);
OSStatus KClientDeleteCredentialsDeprecated (
char* inName,
char* inInstance,
char* inRealm,
char* inSname,
char* inSinstance,
char* inSrealm);
OSStatus KClientGetNumCredentialsDeprecated (
SInt32* outNumCredentials,
char* inName,
char* inInstance,
char* inRealm);
OSStatus
KClientGetNthCredentialDeprecated (
SInt32 inIndex,
char* inName,
char* inInstance,
char* inRealm,
char* inSname,
char* inSi (…)
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/TicketKeeper/ |
H A D | TicketKeeper.h | 275 /* $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/TicketKeeper/TicketKeeper.h,v 1.4 2005/01/10 19:10:47 snsimon Exp $ */
#pragma once
#include <Types.h>
#include <Files.h>
#include <Processes.h>
#include <ConditionalMacros.h>
#ifdef __cplusplus
extern "C" {
#endif
#if PRAGMA_IMPORT
#pragma import on
#endif
/*
* TKAE_SendQuitApplication
*
* Send quit event to ticket keeper. This will cause Ticket Keeper to remove its
* notification if it's up
*/
OSStatus
TKAE_SendQuitApplication ();
/*
* TKAE_SendOpenApplication
*
* Send open event to ticket keeper. Thiw will launch ticket keeper, and it will
* display its self-dismissing notification if there's a problem
*/
OSStatus
TKAE_SendOpenApplication ();
/*
* TKAE_SendOpenApplicationNoNotification
*
* Send open event to Ticket Keeper. This will launch Ticket Keeper, and it will not
* display its notification if there's a problem. It will stay running.
*/
OSStatus
TKAE_SendOpenApplicationNoNotification ();
/*
* TKAE_SendOpenApplicationNoNotificationFSSpec
*
* Send open event to the copy of Ticket Keeper specified in inTKFileSpec.
* This will launch Ticket Keeper, and it will not
* display its notification if there's a problem. It will stay running.
*/
OSStatus
TKAE_SendOpenApplicationNoNotificationFSSpec (FSSpec *inTKFileSpec);
/*
* TKAE_SendGetStatus
*
* Get status from Ticket Keeper
*/
OSStatus
TKAE_SendGetStatus (
OSErr* outStatus);
/*
* IsTicketKeeperRunning
*
* Return true if TK is running, and fills out outPSN if the pointer is non-null.
* Return false if TK is not running, and outPSN is unchanged.
*
*/
Boolean
IsTicketKeeperRunning (ProcessSerialNumber *outPSN);
/*
FindTicketKeeperInExtensions()
Searches the startup volume for copies of Ticket Keeper and checks to see if
any of them are in the Extensions Folder. If it finds one, returns true and
fills out *tkSpec. If it doesn't find one or an error occurs, returns false
and *tkSpec is unchanged.
If the hard drive catalog changes during the search, continues anyway.
Uses functions from MoreFiles.
*/
Boolean
FindTicketKeeperInExtensions(FSSpec *tkSpec);
/*
TKAE_FindTargetTicketKeeper()
Searches the startup volume to find the Ticket Keeper that would receive
AppleEvents if any of the TicketKeeperLib functions that send AEs were called.
First checks to see if TK is running, and returns the FSSpec of that one if it is.
Next looks in the Extensions Folder. Finally it searches the drive for
a copy.
If a Ticket Keeper is found, returns true and fills out *tkSpec.
If it doesn't find one or an error occurs, returns false and *tkSpec is unchanged.
If the hard drive catalog changes during the search, continues anyway.
*/
Boolean TKAE_FindTargetTicketKeeper(FSSpec *tkSpec);
#if !TARGET_API_MAC_CARBON
/*
Menu State functions
Ticket Keeper provides information needed for menus presented by the
Kerberos Control Strip and Kerberos Menu.
*/
struct MenuStateHeader;
typedef struct MenuStateHeader MenuStateHeader;
typedef MenuStateHeader** MenuState;
/*
TKMS_GetMenuState
Returns the current menu state. Dispose with TKMS_DisposeMenuState
*/
OSErr TKMS_GetMenuState (MenuState* outMenuState);
/*
TKMS_DisposeMenuState
Disposes the menu state.
*/
void TKMS_DisposeMenuState (MenuState outMenuState);
/*
TKMS_GetDefaultCacheExpiration
Pass in the menu state returned by TKMS_GetMenuState
Returns the expiration time of the default cache, in Mac epoch
*/
OSErr TKMS_GetDefaultCacheExpiration (MenuState inState, UInt32* outExpiration);
/*
TKMS_GetDefaultCacheLastChangeTime
Pass in the menu state returned by TKMS_GetMenuState
Returns the last change time of the default cache, in Mac epoch
*/
OSErr TKMS_GetDefaultCacheLastChangeTime (MenuState inState, UInt32* outChangeTime);
/*
TKMS_GetDefaultCachePrincipal
Pass in the menu state returned by TKMS_GetMenuState
Returns the principal of the default cache, realm removed if necessary
*/
OSErr TKMS_GetDefaultCachePrincipal (MenuState inState, Str255 outPrincipal);
/*
TKMS_GetDefaultCacheDisplayPrincipal
Pass in the menu state returned by TKMS_GetMenuState
Returns the principal of the default cache, quoting removed
*/
OSErr TKMS_GetDefaultCacheDisplayPrincipal (MenuState inState, Str255 outPrincipal);
/*
TKMS_GetDefaultCacheShortDisplayPrincipal
Pass in the menu state returned by TKMS_GetMenuState
Returns the principal of the default cache, quoting and default realm removed
*/
OSErr TKMS_GetDefaultCacheShortDisplayPrincipal (MenuState inState, Str255 outPrincipal);
/*
TKMS_GetDefaultCacheHasValidTickets
Pass in the menu state returned by TKMS_GetMenuState
Returns whether the default cache has valid tickets
*/
OSErr TKMS_GetDefaultCacheHasValidTickets (MenuState inState, Boolean* outValidTickets);
/*
TKMS_GetNumberOfCaches
Pass in the menu state returned by TKMS_GetMenuState
Returns the total number of caches in the list
*/
OSErr TKMS_GetNumberOfCaches (MenuState inState, UInt32* outNumCaches);
/*
TKMS_SortCachesAlphabetically
Pass in the menu state returned by TKMS_GetMenuState
Sorts the caches in the list alphabetically by principal
*/
OSErr TKMS_SortCachesAlphabetically (
MenuState inState);
/*
TKMS_GetCacheListChangeTime
Pass in the menu state returned by TKMS_GetMenuState
Returns the last change time of the cache list in Mac epoch
*/
OSErr TKMS_GetCacheListLastChangeTime (MenuState inState, UInt32* outChangeTime);
/*
TKMS_GetIndexedCachePrincipal
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Returns the cache principal of the cache at the index
*/
OSErr TKMS_GetIndexedCachePrincipal (MenuState inState, UInt32 inIndex, Str255 outPrincipal);
/*
TKMS_GetIndexedCacheDisplayPrincipal
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Returns the cache principal of the cache at the index, quoting removed
*/
OSErr TKMS_GetIndexedCacheDisplayPrincipal (MenuState inState, UInt32 inIndex, Str255 outPrincipal);
/*
TKMS_GetIndexedCacheShortDisplayPrincipal
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Returns the cache principal of the cache at the index, quoting and default realm removed
*/
OSErr TKMS_GetIndexedCacheShortDisplayPrincipal (MenuState inState, UInt32 inIndex, Str255 outPrincipal);
/*
TKMS_GetIndexedCacheVersion
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Returns the cache version of the cache at the index (version constants same as ccahe and login lib
*/
OSErr TKMS_GetIndexedCacheVersion (MenuState inState, UInt32 inIndex, UInt32* outVersion);
/*
TKMS_GetIndexedCacheIsDefault
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Returns whether the cache at the index is default
*/
OSErr TKMS_GetIndexedCacheIsDefault (MenuState inState, UInt32 inIndex, Boolean* outIsDefault);
/*
TKMS_GetIndexedCacheIsValid
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Returns whether the cache at the index has valid tickets
*/
OSErr TKMS_GetIndexedCacheIsValid (MenuState inState, UInt32 inIndex, Boolean* outIsValid);
/*
TKMS_GetIndexedCacheStartTime
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Returns the start time of the cache at the index in Mac epoch
*/
OSErr TKMS_GetIndexedCacheStartTime (MenuState inState, UInt32 inIndex, UInt32* outStartTime);
/*
TKMS_GetIndexedCacheExpirationTime
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Returns the expiration time of the cache at the index in Mac epoch
*/
OSErr TKMS_GetIndexedCacheExpirationTime (MenuState inState, UInt32 inIndex, UInt32* outExpirationTime);
/*
TKMS_SetIndexedDefaultCache
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Sets the cache at the index to be default
*/
OSErr TKMS_SetIndexedDefaultCache (MenuState inState, UInt32 inIndex);
/*
TKMS_DestroyIndexedCache
Pass in the menu state returned by TKMS_GetMenuState
Pass in index (zero based, less than value returned from TKMS_GetCachePrincipalForIndex)
Destroys the cache
*/
OSErr TKMS_DestroyIndexedCache (MenuState inState, UInt32 inIndex);
/*
TKMS_RenewIndexedCach [all...] |
/macosx-10.9.5/IOFireWireFamily-455.4.0/IOFireWireLib.CFPlugInProj/ |
H A D | IOFireWireLibConfigDirectory.h | 199 int inIndex, 203 int inIndex, 207 int inIndex, 211 int inIndex, 215 int inIndex, 219 int inIndex, 224 int inIndex, 228 int inIndex, 232 int inIndex,
|
H A D | IOFireWireLibConfigDirectory.cpp | 640 int inIndex, 643 return IOFireWireIUnknown::InterfaceMap<ConfigDirectoryCOM>::GetThis(inDir)->GetIndexType(inIndex, *outType) ; 649 int inIndex, 652 return IOFireWireIUnknown::InterfaceMap<ConfigDirectoryCOM>::GetThis(inDir)->GetIndexKey(inIndex, *outKey) ; 658 int inIndex, 661 return IOFireWireIUnknown::InterfaceMap<ConfigDirectoryCOM>::GetThis(inDir)->GetIndexValue(inIndex, *outValue) ; 667 int inIndex, 670 return IOFireWireIUnknown::InterfaceMap<ConfigDirectoryCOM>::GetThis(inDir)->GetIndexValue(inIndex, outValue) ; 676 int inIndex, 679 return IOFireWireIUnknown::InterfaceMap<ConfigDirectoryCOM>::GetThis(inDir)->GetIndexValue(inIndex, outValu 638 SGetIndexType( IOFireWireLibConfigDirectoryRef inDir, int inIndex, IOConfigKeyType* outType) argument 647 SGetIndexKey( IOFireWireLibConfigDirectoryRef inDir, int inIndex, int * outKey) argument 656 SGetIndexValue_UInt32( IOFireWireLibConfigDirectoryRef inDir, int inIndex, UInt32 * outValue) argument 665 SGetIndexValue_Data( IOFireWireLibConfigDirectoryRef inDir, int inIndex, CFDataRef * outValue) argument 674 SGetIndexValue_String( IOFireWireLibConfigDirectoryRef inDir, int inIndex, CFStringRef* outValue) argument 683 SGetIndexValue_ConfigDirectory( IOFireWireLibConfigDirectoryRef inDir, int inIndex, IOFireWireLibConfigDirectoryRef* outValue, REFIID iid) argument 693 SGetIndexOffset_FWAddress( IOFireWireLibConfigDirectoryRef inDir, int inIndex, FWAddress* outValue) argument 702 SGetIndexOffset_UInt32( IOFireWireLibConfigDirectoryRef inDir, int inIndex, UInt32* outValue) argument 711 SGetIndexEntry( IOFireWireLibConfigDirectoryRef inDir, int inIndex, UInt32* outValue) argument [all...] |
H A D | IOFireWireLib.h | 3545 IOReturn (*GetIndexType) ( IOFireWireLibConfigDirectoryRef self, int inIndex, IOConfigKeyType* type); 3547 IOReturn (*GetIndexKey) ( IOFireWireLibConfigDirectoryRef self, int inIndex, int * key); 3549 IOReturn (*GetIndexValue_UInt32) ( IOFireWireLibConfigDirectoryRef self, int inIndex, UInt32 * value); 3551 IOReturn (*GetIndexValue_Data) ( IOFireWireLibConfigDirectoryRef self, int inIndex, CFDataRef * value); 3553 IOReturn (*GetIndexValue_String) ( IOFireWireLibConfigDirectoryRef self, int inIndex, CFStringRef* outValue); 3555 IOReturn (*GetIndexValue_ConfigDirectory) ( IOFireWireLibConfigDirectoryRef self, int inIndex, IOFireWireLibConfigDirectoryRef* outValue, REFIID iid); 3557 IOReturn (*GetIndexOffset_FWAddress) ( IOFireWireLibConfigDirectoryRef self, int inIndex, FWAddress* outValue); 3559 IOReturn (*GetIndexOffset_UInt32) ( IOFireWireLibConfigDirectoryRef self, int inIndex, UInt32* outValue); 3561 IOReturn (*GetIndexEntry) ( IOFireWireLibConfigDirectoryRef self, int inIndex, UInt32* outValue);
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosLogin/ |
H A D | KerberosLogin.h | 350 /*
* KerberosLogin.h
*
* $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosLogin/KerberosLogin.h,v 1.4 2005/01/10 19:17:29 snsimon Exp $
*
*/
/*
* This file contains part of the login library API. See
* <http://web.mit.edu/macdev/mit/lib/Login/doc/API.html>
* for API documentation
*/
#ifndef __KERBEROSLOGIN__
#define __KERBEROSLOGIN__
/*
*
* Constants
*
*/
/* Kerberos versions */
enum KLEKerberosVersion {
kerberosVersion_Any = 0,
kerberosVersion_V4 = 1,
kerberosVersion_V5 = 2,
kerberosVersion_All = 0xFFFFFFFF
};
/* dialog identifier constants */
enum KLEDialogIdentifiers {
loginLibrary_LoginDialog,
loginLibrary_OptionsDialog,
loginLibrary_ChangePasswordDialog,
loginLibrary_ProgressDialog,
loginLibrary_PrompterDialog
};
/* Login dialog items */
enum KLELoginDialogItems {
loginDialog_Username,
loginDialog_Password,
loginDialog_Realm,
loginDialog_TicketLifetime,
loginDialog_ForwardableTicket
};
/* Password dialog items */
enum KLEChangePasswordDialogItems {
changePasswordDialog_OldPassword,
changePasswordDialog_NewPassword,
changePasswordDialog_VerifyPassword
};
/* Option identifier constants */
enum KLEDefaultLoginOptions {
/* Dialog state options */
loginOption_LoginName = 'name',
loginOption_LoginInstance = 'inst',
loginOption_AdvancedLoginMode = 'adv ',
loginOption_ShowTicketLifetime = 'life',
loginOption_ShowForwardableTicket = 'forw',
loginOption_ShowProxiableTicket = 'prox',
/* Initial values and ranges */
loginOption_RememberPrincipal = 'prin',
loginOption_RememberExtras = 'extr',
loginOption_MinimalTicketLifetime = '-lif',
loginOption_MaximalTicketLifetime = '+lif',
loginOption_DefaultTicketLifetime = '0lif',
loginOption_LongTicketLifetimeDisplay = 'hms ',
loginOption_DefaultForwardableTicket = '0fwd',
loginOption_DefaultProxiableTicket = '0prx'
};
/* Login mode identifier constants (for loginOption_AdvancedLoginMode) */
enum KLELoginMode {
loginMode_Basic = 1,
loginMode_Advanced = 2
};
/* Realm list constants */
enum KLERealmListIndexes {
realmList_Start = 0,
realmList_End = 0xFFFF
};
#define klFirstError 19276
#define klLastError 19876
/* Error codes */
enum KLEStatus {
klNoErr = 0,
/* parameter errors */
klParameterErr = 19276,
klBadPrincipalErr,
klBadPasswordErr,
klBadLoginOptionsErr,
klInvalidVersionErr,
/* Runtime Login errors */
klUserCanceledErr = 19476,
klMemFullErr,
klPreferencesReadErr,
klPreferencesWriteErr,
klV5InitializationFailedErr,
klPrincipalDoesNotExistErr,
klSystemDefaultDoesNotExistErr,
klCredentialsExpiredErr,
klNoRealmsErr,
klRealmDoesNotExistErr,
klNoCredentialsErr,
klCredentialsBadAddressErr,
klCacheDoesNotExistErr,
/* Get/SetKerberosOption errors */
klBufferTooSmallErr = 19376,
klBufferTooLargeErr,
klInvalidOptionErr,
klBadOptionValueErr,
/* Password changing errors */
klPasswordMismatchErr = 19576,
klInsecurePasswordErr,
klPasswordChangeFailedErr,
/* Dialog errors */
klDialogDoesNotExistErr = 19676,
klDialogAlreadyExistsErr,
klNotInForegroundErr,
klNoAppearanceErr,
klFatalDialogErr,
klCarbonUnavailableErr,
/* Login IPC errors */
klCantContactServerErr = 19776
};
#ifndef rez /* This stuff will confuse rez */
#include <KerberosSupport/KerberosConditionalMacros.h>
#if TARGET_API_MAC_OSX && TARGET_API_MAC_CARBON
#include <Carbon/Carbon.h>
#elif TARGET_API_MAC_OS8 || TARGET_API_MAC_CARBON
#include <Dialogs.h>
#include <Events.h>
#include <MacTypes.h>
#else
#error "Unknown OS"
#endif
#if PRAGMA_ONCE
#pragma once
#endif
#if PRAGMA_IMPORT
#pragma import on
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if PRAGMA_STRUCT_ALIGN
#pragma options align=mac68k
#elif PRAGMA_STRUCT_PACKPUSH
#pragma pack(push, 2)
#elif PRAGMA_STRUCT_PACK
#pragma pack(2)
#endif
/*
*
* Types
*
*/
typedef OSStatus KLStatus; /* one of KLEStatus */
typedef UInt32 KLKerberosVersion; /* one of KLEKerberosVersion */
typedef UInt32 KLDefaultLoginOption; /* one of KLEDefaultLoginOptions */
typedef UInt32 KLLoginMode; /* one of KLELoginMode */
typedef UInt32 KLDialogIdentifier; /* one of KLEDialogIdentifiers */
typedef UInt32 KLIndex; /* index (used for the realm list) */
typedef UInt32 KLLifetime; /* Lifetime in seconds */
typedef UInt32 KLTime; /* Unix time (seconds since 1/1/1970 00:00:00 GMT) */
typedef UInt32 KLSize; /* size of a buffer (KLG/SetDefaultLoginOptions) or realm list (CountKerberosRealms) */
typedef UInt32 KLRefCon; /* application ref con */
typedef Boolean KLBoolean; /* true or false! */
typedef SInt16 KLSInt16; /* used for Darwin-compat for KLApplicationOptions */
/* Callback API for Kerberos Login event filter */
/* Must be the same as an Idle Library event filter */
/* Callback API for Event handler proc for idle loop */
typedef CALLBACK_API (Boolean, KLEventFilterProcPtr) (const EventRecord *theEvent, KLRefCon appData);
/* Procinfo for Login Library event filter */
enum {
uppKLEventFilterProcInfo = kPascalStackBased |
RESULT_SIZE (sizeof (Boolean)) |
STACK_ROUTINE_PARAMETER (1, SIZE_CODE (sizeof (const EventRecord *))) |
STACK_ROUTINE_PARAMETER (2, SIZE_CODE (sizeof (KLRefCon)))
};
#if !TARGET_API_MAC_CARBON
/* UPP for Kerberos Login event filter */
typedef STACK_UPP_TYPE (KLEventFilterProcPtr) KLEventFilterUPP;
#define NewKLEventFilterProc(userRoutine) \
(KLEventFilterUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), uppKLEventFilterProcInfo, GetCurrentArchitecture())
/* How to call the event Handler UPPs */
#define CallKLEventFilterProc(userRoutine, theEvent, appData) \
((Boolean)CALL_TWO_PARAMETER_UPP ((userRoutine), uppKLEventFilterProcInfo, theEvent, appData))
#else
typedef KLEventFilterProcPtr KLEventFilterUPP;
#define NewKLEventFilterProc(userRoutine) \
userRoutine
#define CallKLEventFilterProc(userRoutine, theEvent, appData) \
((userRoutine) (theEvent, appData))
#endif
/* Application options */
typedef struct {
KLEventFilterUPP eventFilter;
KLRefCon eventFilterAppData;
KLSInt16 realmsPopupMenuID;
KLSInt16 loginModeMenuID;
} KLApplicationOptions;
/* Principal information */
struct OpaqueKLPrincipal;
typedef struct OpaqueKLPrincipal * KLPrincipal;
/* Login Options */
struct OpaqueKLLoginOptions;
typedef struct OpaqueKLLoginOptions * KLLoginOptions;
/*
*
* Functions
*
*/
/* Kerberos Login high-level API */
KLStatus KLAcquireTickets (
KLPrincipal inPrincipal,
KLPrincipal *outPrincipal,
char **outCredCacheName);
KLStatus KLAcquireNewTickets (
KLPrincipal inPrincipal,
KLPrincipal *outPrincipal,
char **outCredCacheName);
KLStatus KLDestroyTickets (KLPrincipal inPrincipal);
KLStatus KLChangePassword (KLPrincipal inPrincipal);
/* Kerberos Login dialog low level functions */
KLStatus KLAcquireTicketsWithPassword (
KLPrincipal inPrincipal,
KLLoginOptions inLoginOptions,
const char *inPassword,
char **outCredCacheName);
KLStatus KLAcquireNewTicketsWithPassword (
KLPrincipal inPrincipal,
KLLoginOptions inLoginOptions,
const char *inPassword,
char **outCredCacheName);
KLStatus KLLastChangedTime (KLTime *outLastChangedTime);
KLStatus KLCacheHasValidTickets (
KLPrincipal inPrincipal,
KLKerberosVersion inKerberosVersion,
KLBoolean *outFoundValidTickets,
KLPrincipal *outPrincipal,
char **outCredCacheName);
KLStatus KLTicketStartTime (
KLPrincipal inPrincipal,
KLKerberosVersion inKerberosVersion,
KLTime *outStartTime);
KLStatus KLTicketExpirationTime (
KLPrincipal inPrincipal,
KLKerberosVersion inKerberosVersion,
KLTime *outExpirationTime);
KLStatus KLSetSystemDefaultCache (KLPrincipal inPrincipal);
KLStatus KLHandleError (
KLStatus inError,
KLDialogIdentifier inDialogIdentifier,
Boolean inShowAlert);
KLStatus KLGetErrorString (
KLStatus inError,
char **outErrorString);
KLStatus KLCancelAllDialogs (void);
/* Kerberos change password dialog low level functions */
KLStatus KLChangePasswordWithPasswords (
KLPrincipal inPrincipal,
const char *inOldPassword,
const char *inNewPassword);
/* Application Configuration functions */
KLStatus KLSetApplicationOptions (const KLApplicationOptions *inAppOptions);
KLStatus KLGetApplicationOptions (KLApplicationOptions *outAppOptions);
/* Library configuration functions */
KLStatus KLGetDefaultLoginOption (
const KLDefaultLoginOption inOption,
void *ioBuffer,
KLSize *ioBufferSize);
KLStatus KLSetDefaultLoginOption (
const KLDefaultLoginOption inOption,
const void *inBuffer,
const KLSize inBufferSize);
/* Realm configuration functions */
KLStatus KLFindKerberosRealmByName (
const char *inRealmName,
KLIndex *outIndex);
KLStatus KLGetKerberosRealm (
KLIndex inIndex,
char **outRealmName);
KLStatus KLSetKerberosRealm (
KLIndex inIndex,
const char *inRealmName);
KLStatus KLRemoveKerberosRealm (UInt32 inIndex);
KLStatus KLInsertKerberosRealm (
KLIndex inInsertBeforeIndex,
const char *inRealmName);
KLStatus KLRemoveAllKerberosRealms (void);
KLSize KLCountKerberosRealms (void);
KLStatus KLGetKerberosDefaultRealm(KLIndex *outIndex);
KLStatus KLGetKerberosDefaultRealmByName (char **outRealmName);
KLStatus KLSetKerberosDefaultRealm (KLIndex inIndex);
KLStatus KLSetKerberosDefaultRealmByName (const char *inRealm);
/* KLPrincipal functio (…)
|
/macosx-10.9.5/OpenAL-52.1/Source/OpenAL/ |
H A D | oalDevice.h | 174 OALDevice* GetDeviceByIndex(UInt32 inIndex, uintptr_t &outDeviceToken) { argument 176 std::advance(it, inIndex);
|
H A D | oalBuffer.h | 210 OALBuffer* GetBufferByIndex(UInt32 inIndex) { argument 213 for (UInt32 i = 0; i < inIndex; i++){ 217 i = inIndex;
|
H A D | oalSource.h | 134 ALuint RemoveQueueEntryByIndex(OALSource* thisSource, UInt32 inIndex, bool inReleaseIt); 767 OALSource* GetSourceByIndex(UInt32 inIndex) { argument 770 for (UInt32 i = 0; i < inIndex; i++) { 774 i = inIndex;
|
H A D | oalContext.h | 289 OALContext* GetContextByIndex(UInt32 inIndex, uintptr_t &outContextToken) { argument 291 std::advance(it, inIndex);
|
H A D | oalSource.cpp | 4595 ALuint BufferQueue::RemoveQueueEntryByIndex(OALSource* thisSource, UInt32 inIndex, bool inReleaseIt) argument 4598 DebugMessageN3("BufferQueue::RemoveQueueEntryByIndex - thisSource:inIndex:inReleaseIt:inACToken = %d:%d:%d", thisSource->GetToken(), inIndex, inReleaseIt); 4603 std::advance(it, inIndex);
|
/macosx-10.9.5/MITKerberosShim-62.1/Kerberos/ |
H A D | KerberosLogin.h | 411 KLStatus KLGetKerberosRealm (KLIndex inIndex, 416 KLStatus KLSetKerberosRealm (KLIndex inIndex, 421 KLStatus KLRemoveKerberosRealm (KLIndex inIndex) 440 KLStatus KLSetKerberosDefaultRealm (KLIndex inIndex)
|
/macosx-10.9.5/MITKerberosShim-62.1/include/ |
H A D | mit-KerberosLogin.h | 354 KLStatus KLGetKerberosRealm (KLIndex inIndex, 357 KLStatus KLSetKerberosRealm (KLIndex inIndex, 360 KLStatus KLRemoveKerberosRealm (KLIndex inIndex); 373 KLStatus KLSetKerberosDefaultRealm (KLIndex inIndex);
|
/macosx-10.9.5/MITKerberosShim-62.1/ |
H A D | Krb4DeprecatedAPIs.c | 558 OSStatus KClientGetNthRealmMapDeprecated (SInt32 inIndex, char *outHost, char *outRealm) argument 563 OSStatus KClientGetNthServerDeprecated (SInt32 inIndex, char *outHost, char *inRealm, Boolean inAdmin) argument 578 OSStatus KClientGetNthServerMapDeprecated (SInt32 inIndex, char *outHost, char *outRealm, Boolean *outAdmin) argument 583 OSStatus KClientGetNthServerPortDeprecated (SInt32 inIndex, UInt16 *outPort) argument 588 OSStatus KClientSetNthServerPortDeprecated (SInt32 inIndex, UInt16 inPort) argument 598 OSStatus KClientGetNthSessionDeprecated (SInt32 inIndex, char *outName, char *outInstance, char *outRealm) argument 631 OSStatus KClientGetNthCredentialDeprecated (SInt32 inIndex, argument
|
H A D | kll.c | 846 KLStatus KLGetKerberosRealm (KLIndex inIndex, argument 853 KLStatus KLSetKerberosRealm (KLIndex inIndex, argument 860 KLStatus KLRemoveKerberosRealm (KLIndex inIndex) argument 902 KLStatus KLSetKerberosDefaultRealm (KLIndex inIndex) argument
|
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/ |
H A D | utilities.h | 249 T &operator[](size_t inIndex) { return mArray[inIndex]; } argument
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/ |
H A D | utilities.h | 249 T &operator[](size_t inIndex) { return mArray[inIndex]; } argument
|
/macosx-10.9.5/IONetworkingFamily-100/ |
H A D | IOMbufMemoryCursor.cpp | 200 UInt32 inIndex = 0; local 284 if (inIndex < mbufsInCache) 285 numSegs -= segsPerMBuf[inIndex]; // Yeah, in cache 300 inIndex++;
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSVxWorks/ |
H A D | mDNSVxWorks.c | 124 mDNSlocal NetworkInterfaceInfoVxWorks * FindInterfaceByIndex( mDNS *const inMDNS, int inFamily, mDNSu32 inIndex ); 599 mDNSexport mDNSInterfaceID mDNSPlatformInterfaceIDfromInterfaceIndex( mDNS *const inMDNS, mDNSu32 inIndex ) 603 if( inIndex == (mDNSu32) -1 ) return( mDNSInterface_LocalOnly ); 604 if( inIndex != 0 ) 610 if( i->ifinfo.InterfaceID && ( i->scopeID == inIndex ) ) return( i->ifinfo.InterfaceID ); 1259 mDNSlocal NetworkInterfaceInfoVxWorks * FindInterfaceByIndex( mDNS *const inMDNS, int inFamily, mDNSu32 inIndex ) 1263 check( inIndex != 0 ); 1267 if( i->exists && ( i->scopeID == inIndex ) &&
|
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/ |
H A D | mDNSWin32.c | 870 mDNSexport mDNSInterfaceID mDNSPlatformInterfaceIDfromInterfaceIndex( mDNS * const inMDNS, mDNSu32 inIndex ) 875 if( inIndex == kDNSServiceInterfaceIndexLocalOnly ) 879 else if( inIndex != 0 ) 885 if( ( ifd->scopeID == inIndex ) && ifd->interfaceInfo.InterfaceActive )
|