2 // SecExperimentInternal.h
6 #ifndef SecExperimentInternal_h
7 #define SecExperimentInternal_h
9 #include <Security/SecExperimentPriv.h>
12 * @function sec_experiment_run_internal
15 * Asynchronously run an experiment, optionally disabling sampling if desired.
17 * Note: This function MUST NOT be called outside of tests.
19 * @param experiment_name
20 * Name of the experiment to run.
22 * @param sampling_disabled
23 * Flag to disable sampling.
26 * Queue on which to run the experiment.
29 * A `sec_experiment_run_block_t` block upon which to execute the given experiment.
32 sec_experiment_run_internal(const char *experiment_name
, bool sampling_disabled
, dispatch_queue_t queue
, sec_experiment_run_block_t run_block
);
34 #endif /* SecExperimentInternal_h */