#ifndef _SECURITY_SOSTYPES_H_
#define _SECURITY_SOSTYPES_H_
#include <sys/cdefs.h>
__BEGIN_DECLS
typedef enum SyncWithAllPeersReason {
kSyncWithAllPeersOtherFail = 0,
kSyncWithAllPeersSuccess,
kSyncWithAllPeersLocked,
} SyncWithAllPeersReason;
typedef enum HandleIDSMessageReason {
kHandleIDSMessageOtherFail = 0,
kHandleIDSMessageNotReady,
kHandleIDSMessageSuccess,
kHandleIDSMessageLocked,
} HandleIDSMessageReason;
enum {
kSOSCCGeneralViewError = 0,
kSOSCCViewMember = 1,
kSOSCCViewNotMember = 2,
kSOSCCViewNotQualified = 3,
kSOSCCNoSuchView = 4,
kSOSCCViewPending = 5,
kSOSCCViewAuthErr = 6,
};
typedef int SOSViewResultCode;
enum {
kSOSCCViewEnable = 1,
kSOSCCViewDisable = 2,
kSOSCCViewQuery = 3,
};
typedef int SOSViewActionCode;
enum {
kSOSCCGeneralSecurityPropertyError = 0,
kSOSCCSecurityPropertyValid = 1,
kSOSCCSecurityPropertyNotValid = 2,
kSOSCCSecurityPropertyNotQualified = 3,
kSOSCCNoSuchSecurityProperty = 4,
kSOSCCSecurityPropertyPending = 5,
};
typedef int SOSSecurityPropertyResultCode;
enum {
kSOSCCSecurityPropertyEnable = 1,
kSOSCCSecurityPropertyDisable = 2,
kSOSCCSecurityPropertyQuery = 3,
};
typedef int SOSSecurityPropertyActionCode;
__END_DECLS
#endif