X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/72a12576750f52947eb043106ba5c12c0d07decf..b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195:/libsecurity_transform/lib/SecGroupTransform.cpp diff --git a/libsecurity_transform/lib/SecGroupTransform.cpp b/libsecurity_transform/lib/SecGroupTransform.cpp new file mode 100644 index 00000000..ca782744 --- /dev/null +++ b/libsecurity_transform/lib/SecGroupTransform.cpp @@ -0,0 +1,36 @@ +/* + * SecGroupTransform.cpp + * libsecurity_transform + * + * Created by ohjelmoija on 3/31/10. + * Copyright 2010 __MyCompanyName__. All rights reserved. + * + */ + +#include "SecGroupTransform.h" +#include "SecTransformInternal.h" +#include "GroupTransform.h" + +SecTransformRef SecGroupTransformFindLastTransform(SecGroupTransformRef groupTransform) +{ + GroupTransform* gt = (GroupTransform*) CoreFoundationHolder::ObjectFromCFType(groupTransform); + return gt->FindLastTransform(); +} + + + +SecTransformRef SecGroupTransformFindMonitor(SecGroupTransformRef groupTransform) +{ + GroupTransform* gt = (GroupTransform*) CoreFoundationHolder::ObjectFromCFType(groupTransform); + return gt->FindMonitor(); +} + + + +bool SecGroupTransformHasMember(SecGroupTransformRef groupTransform, SecTransformRef transform) +{ + GroupTransform* gt = (GroupTransform*) CoreFoundationHolder::ObjectFromCFType(groupTransform); + return gt->HasMember(transform); +} + +