]>
git.saurik.com Git - apple/security.git/blob - OSX/sec/SOSCircle/SecureObjectSync/SOSCircleRings.h
5 // Created by Richard Murphy on 12/4/14.
9 #ifndef sec_SOSCircleRings_h
10 #define sec_SOSCircleRings_h
12 /* return the ring recorded within the circle */
13 CFMutableSetRef
SOSCircleGetRing(SOSCircleRef circle
, CFStringRef ring
);
15 /* return a set of peers referenced by a ring within the circle */
16 CFMutableSetRef
SOSCircleRingCopyPeers(SOSCircleRef circle
, CFStringRef ring
, CFAllocatorRef allocator
);
18 /* return the number of peers represented within a ring */
19 int SOSCircleRingCountPeers(SOSCircleRef circle
, CFStringRef ring
);
21 /* For each Peer in the circle, evaluate the ones purported to be allowed within a ring and sign them in to the ring */
22 bool SOSCircleRingAddPeers(SOSCircleRef oldCircle
, SOSCircleRef newCircle
, CFStringRef ring
);