Lines Matching refs:error
29 static bool dict_to_error_request(enum SecXPCOperation op, CFDictionaryRef query, CFErrorRef *error)
31 return securityd_send_sync_and_do(op, error, ^bool(xpc_object_t message, CFErrorRef *error) {
32 return SecXPCDictionarySetPList(message, kSecXPCKeyQuery, query, error);
36 static CFDictionaryRef void_to_dict_error_request(enum SecXPCOperation op, CFErrorRef *error) {
38 securityd_send_sync_and_do(op, error, NULL, ^bool(xpc_object_t response, CFErrorRef *error) {
39 return (dict = SecXPCDictionaryCopyPList(response, kSecXPCKeyResult, error));
44 CFArrayRef SecGetCurrentServerLoggingInfo(CFErrorRef *error)
46 return SECURITYD_XPC(sec_get_log_settings, void_to_dict_error_request, error);
49 bool SecSetLoggingInfoForXPCScope(CFPropertyListRef /* String or Dictionary of strings */ settings, CFErrorRef *error)
51 return SECURITYD_XPC(sec_set_xpc_log_settings, dict_to_error_request, settings, error);