KXKextRepository_private.h [plain text]
#if !__LP64__
#ifndef __KXKEXTREPOSITORY_PRIVATE_H__
#define __KXKEXTREPOSITORY_PRIVATE_H__
#include <sys/cdefs.h>
__BEGIN_DECLS
#include "KXKextRepository.h"
#include "KXKextManager_private.h"
#include "KXKext_private.h"
#define _CACHE_VERSION_KEY CFSTR("KextCacheVersion")
#define _CACHE_SCANS_KEY CFSTR("ScansForKexts")
#define _CACHE_KEXTS_KEY CFSTR("Kexts")
#define _CACHE_PERSONALITIES_KEY CFSTR("Personalities")
#define _kKXKextCachesFolderName "Caches"
#define _kKXKextPlistCacheFilename "com.apple.kext.info"
KXKextRepositoryRef _KXKextRepositoryCreate(CFAllocatorRef alloc);
KXKextManagerError _KXKextRepositoryInitWithDirectory(
KXKextRepositoryRef aRepository,
CFURLRef aDirectory,
Boolean scanDirectory, KXKextManagerRef aManager);
KXKextManagerError _KXKextRepositoryInitWithCache(
KXKextRepositoryRef aRepository,
CFDictionaryRef aDictionary,
CFURLRef aDirectory,
KXKextManagerRef aManager);
const char * _KXKextRepositoryCopyCanonicalPathnameAsCString(
KXKextRepositoryRef aRepository);
CFArrayRef _KXKextRepositoryGetCandidateKexts(KXKextRepositoryRef aRepository);
CFArrayRef _KXKextRepositoryGetBadKexts(KXKextRepositoryRef aRepository);
KXKextManagerError _KXKextRepositoryScanDirectoryForKexts(
KXKextRepositoryRef aRepository,
CFURLRef aDirectory,
CFArrayRef existingKexts,
CFArrayRef * addedKexts,
CFArrayRef * removedKexts,
CFArrayRef * notKexts);
void _KXKextRepositoryAddKext(
KXKextRepositoryRef aRepository,
KXKextRef aKext);
void _KXKextRepositoryAddKexts(
KXKextRepositoryRef aRepository,
CFArrayRef kextArray);
void _KXKextRepositoryAddBadKext(
KXKextRepositoryRef aRepository,
KXKextRef aKext);
void _KXKextRepositoryAddBadKexts(
KXKextRepositoryRef aRepository,
CFArrayRef kextArray);
void _KXKextRepositoryRemoveKext(
KXKextRepositoryRef aRepository,
KXKextRef aKext);
void _KXKextRepositoryDisqualifyKext(
KXKextRepositoryRef aRepository,
KXKextRef aKext);
void _KXKextRepositoryRequalifyKext(
KXKextRepositoryRef aRepository,
KXKextRef aKext);
void _KXKextRepositoryClearRelationships(KXKextRepositoryRef aRepository);
void _KXKextRepositoryClearDependencyRelationships(
KXKextRepositoryRef aRepository);
void _KXKextRepositoryMarkKextsNotLoaded(KXKextRepositoryRef aRepository);
void _KXKextRepositoryClearLoadFailures(KXKextRepositoryRef aRepository);
CFDictionaryRef _KXKextRepositoryCopyCacheDictionary(
KXKextRepositoryRef aRepository);
Boolean _KXKextRepositoryInvalidateCaches(
KXKextRepositoryRef aRepository);
#if 0
KXKextManagerError KXKextRepositoryInitFromMultikextArchive(
KXKextRepositoryRef aRepository,
char * archive,
KXKextManagerRef aManager);
#endif 0
__END_DECLS
#endif __KXKEXTREPOSITORY_PRIVATE_H__
#endif // !__LP64__