2 * Copyright (c) 2013 Apple Inc.
6 #ifndef __SYSTEMCONFIGURATION_SNHELPER_PRIVATE_H__
7 #define __SYSTEMCONFIGURATION_SNHELPER_PRIVATE_H__
11 #define kSNHelperService "com.apple.snhelper"
13 #define kSNHelperMessageType "message-type"
14 #define kSNHelperMessageUUID "uuid"
15 #define kSNHelperMessageAppID "app-id"
16 #define kSNHelperMessageResult "result-code"
17 #define kSNHelperMessageResultData "result-data"
20 kSNHelperMessageTypeFlowDivertUUIDAdd
,
21 kSNHelperMessageTypeFlowDivertUUIDRemove
,
22 kSNHelperMessageTypeFlowDivertUUIDClear
,
23 kSNHelperMessageTypeGetUUIDForApp
,
26 int snhelper_flow_divert_uuid_policy_add(const uuid_t uuid
);
27 int snhelper_flow_divert_uuid_policy_remove(const uuid_t uuid
);
28 int snhelper_flow_divert_uuid_policy_clear(void);
29 int snhelper_get_uuid_for_app(const char *, uuid_t
);
31 bool isa_xpc_connection(xpc_object_t obj
);
32 bool isa_xpc_bool(xpc_object_t obj
);
33 bool isa_xpc_dictionary(xpc_object_t obj
);
34 bool isa_xpc_error(xpc_object_t obj
);
36 #endif /* __SYSTEMCONFIGURATION_SNHELPER_PRIVATE_H__ */