]>
Commit | Line | Data |
---|---|---|
5c19dc3a A |
1 | // |
2 | // SOSCircleRings.h | |
3 | // sec | |
4 | // | |
5 | // Created by Richard Murphy on 12/4/14. | |
6 | // | |
7 | // | |
8 | ||
9 | #ifndef sec_SOSCircleRings_h | |
10 | #define sec_SOSCircleRings_h | |
11 | ||
12 | /* return the ring recorded within the circle */ | |
13 | CFMutableSetRef SOSCircleGetRing(SOSCircleRef circle, CFStringRef ring); | |
14 | ||
15 | /* return a set of peers referenced by a ring within the circle */ | |
16 | CFMutableSetRef SOSCircleRingCopyPeers(SOSCircleRef circle, CFStringRef ring, CFAllocatorRef allocator); | |
17 | ||
18 | /* return the number of peers represented within a ring */ | |
19 | int SOSCircleRingCountPeers(SOSCircleRef circle, CFStringRef ring); | |
20 | ||
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); | |
23 | ||
24 | ||
25 | ||
26 | __END_DECLS | |
27 | ||
28 | #endif | |
29 | ||
30 | #endif |