]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_transform/lib/SecGroupTransform.cpp
Security-55163.44.tar.gz
[apple/security.git] / libsecurity_transform / lib / SecGroupTransform.cpp
diff --git a/libsecurity_transform/lib/SecGroupTransform.cpp b/libsecurity_transform/lib/SecGroupTransform.cpp
new file mode 100644 (file)
index 0000000..ca78274
--- /dev/null
@@ -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);
+}
+
+