Function SCDynamicStoreCopyKeyList

Source
pub unsafe extern "C-unwind" fn SCDynamicStoreCopyKeyList(
    store: Option<&SCDynamicStore>,
    pattern: &CFString,
) -> Option<CFRetained<CFArray>>
Available on crate feature SCDynamicStore only.
Expand description

Returns an array of CFString keys representing the current dynamic store entries that match a specified pattern.

Parameter store: The dynamic store session.

Parameter pattern: A regex(3) regular expression pattern used to match the dynamic store keys.

Returns: Returns the list of matching keys; NULL if an error was encountered. You must release the returned value.