X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/80e2389990082500d76eb566d4946be3e786c3ef..d8f41ccd20de16f8ebe2ccc84d47bf1cb2b26bbb:/Security/libsecurity_transform/lib/SecTransformInternal.h diff --git a/Security/libsecurity_transform/lib/SecTransformInternal.h b/Security/libsecurity_transform/lib/SecTransformInternal.h new file mode 100644 index 00000000..0aef288b --- /dev/null +++ b/Security/libsecurity_transform/lib/SecTransformInternal.h @@ -0,0 +1,33 @@ +#ifndef __SECTRANSFORM_INTERNAL__ +#define __SECTRANSFORM_INTERNAL__ + + +#ifdef __cplusplus +extern "C" { +#endif + +#include "SecTransform.h" + + +CFErrorRef SecTransformConnectTransformsInternal(SecGroupTransformRef groupRef, SecTransformRef sourceTransformRef, CFStringRef sourceAttributeName, + SecTransformRef destinationTransformRef, CFStringRef destinationAttributeName); + +// note: if destinationTransformRef is orphaned (i.e. left with nothing connecting to it and connecting to nothing, it will be removed +// from the group. +CFErrorRef SecTransformDisconnectTransforms(SecTransformRef destinationTransformRef, CFStringRef destinationAttributeName, + SecTransformRef sourceTransformRef, CFStringRef sourceAttributeName); + +SecTransformRef SecGroupTransformFindLastTransform(SecGroupTransformRef groupTransform); +SecTransformRef SecGroupTransformFindMonitor(SecGroupTransformRef groupTransform); +bool SecGroupTransformHasMember(SecGroupTransformRef groupTransform, SecTransformRef transform); + +CF_EXPORT +CFStringRef SecTransformDotForDebugging(SecTransformRef transformRef); + + + +#ifdef __cplusplus +}; +#endif + +#endif