8 #ifndef SOSAccountGhost_h
9 #define SOSAccountGhost_h
11 #include "SOSAccount.h"
12 #include "keychain/SecureObjectSync/SOSTypes.h"
14 #define GHOSTBUST_PERIODIC 1
16 bool SOSAccountGhostResultsInReset(SOSAccount
* account
);
17 CF_RETURNS_RETAINED SOSCircleRef
SOSAccountCloneCircleWithoutMyGhosts(SOSAccount
* account
, SOSCircleRef startCircle
);
20 @
class SOSAuthKitHelpers
;
23 * Ghostbust devices that are not in circle
25 * @param account account to operate on
26 * @param akh injection of parameters
27 * @param mincount if circle is smaller the
29 * @return true if there was a device busted
32 bool SOSAccountGhostBustCircle(SOSAccount
*account
, SOSAuthKitHelpers
*akh
, SOSAccountGhostBustingOptions options
, int mincount
);
36 #endif /* SOSAccountGhost_h */