+static void
+yaml_extract_cpt(struct cYAML *tree,
+ struct cfs_expr_list **global_cpts)
+{
+ int rc;
+ struct cYAML *smp;
+
+ smp = cYAML_get_object_item(tree, "CPT");
+ if (smp != NULL) {
+ rc = cfs_expr_list_parse(smp->cy_valuestring,
+ strlen(smp->cy_valuestring),
+ 0, UINT_MAX, global_cpts);
+ if (rc != 0)
+ *global_cpts = NULL;
+ }
+}
+