X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/80e2389990082500d76eb566d4946be3e786c3ef..d8f41ccd20de16f8ebe2ccc84d47bf1cb2b26bbb:/authd/authutilities.h diff --git a/authd/authutilities.h b/authd/authutilities.h deleted file mode 100644 index 6d07c9c3..00000000 --- a/authd/authutilities.h +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright (c) 2012 Apple Inc. All rights reserved. */ - -#ifndef _SECURITY_AUTH_UTILITIES_H_ -#define _SECURITY_AUTH_UTILITIES_H_ - -#include -#include -#include - -#if defined(__cplusplus) -extern "C" { -#endif - -AuthorizationItemSet * DeserializeItemSet(const xpc_object_t); -xpc_object_t SerializeItemSet(const AuthorizationItemSet*); -void FreeItemSet(AuthorizationItemSet*); - -char * _copy_cf_string(CFTypeRef,const char*); -int64_t _get_cf_int(CFTypeRef,int64_t); -bool _get_cf_bool(CFTypeRef,bool); - -bool _compare_string(const char *, const char *); -char * _copy_string(const char *); -void * _copy_data(const void * data, size_t dataLen); - -bool _cf_set_iterate(CFSetRef, bool(^iterator)(CFTypeRef value)); -bool _cf_bag_iterate(CFBagRef, bool(^iterator)(CFTypeRef value)); -bool _cf_dictionary_iterate(CFDictionaryRef, bool(^iterator)(CFTypeRef key,CFTypeRef value)); - -#if defined(__cplusplus) -} -#endif - -#endif /* !_SECURITY_AUTH_UTILITIES_H_ */