Open SCAP Library: Deprecated List

Open SCAP Library

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

Deprecated List

globalScope> Global cpe_dict_detect_version (const char *file)
  This function has been deprecated by oscap_source_get_schema_version. This function may be dropped from later versions of the library.
Global cpe_dict_model::cpe_dict_model_import (const char *file)
  This function has been deprecated by cpe_dict_model_import_source. This function may be dropped from later versions of the library.
Global cpe_item::cpe_item_add_note (struct cpe_item *item, struct oscap_text *new_title)
  This function has been deprecated and it may be dropped from later versions of the library. (Please see upstream ticket #339 for further details).
Global cpe_item::cpe_item_get_deprecated (const struct cpe_item *item)
  This function has been deprecated by cpe_item_get_deprecated_by. This function may be dropped from later versions of the library.
Global cpe_item::cpe_item_get_notes (const struct cpe_item *item)
  This function has been deprecated and it may be dropped from later versions of the library. (Please see upstream ticket #339 for further details).
Global cpe_lang_model::cpe_lang_model_detect_version (const char *file)
  This function has been deprecated by oscap_source_get_schema_version. This function may be dropped from later versions of the library.
Global cpe_lang_model::cpe_lang_model_import (const char *file)
  This function has been deprecated by cpe_lang_model_import_source This function may be dropped from later versions of the library.
globalScope> Global ds_rds_decompose (const char *input_file, const char *report_id, const char *request_id, const char *target_dir)
  This function has been deprecated. Make a use of ds_rds_session instread. This function may be dropped from later versions of the library.
globalScope> Global ds_sds_decompose (const char *input_file, const char *id, const char *xccdf_id, const char *target_dir, const char *target_filename)
  This function has been deprecated. Make a use of ds_sds_session instread. This function may be dropped from later versions of the library.
globalScope> Global ds_sds_decompose_custom (const char *input_file, const char *id, const char *target_dir, const char *container_name, const char *component_id, const char *target_filename)
  This function has been deprecated. Make a use of ds_sds_session instread. This function may be dropped from later versions of the library.
Global ds_sds_index::ds_sds_index_import (const char *file)
  This function has been deprecated. Make a use of ds_sds_session instread. This function may be dropped from later versions of the library.
globalScope> Global oscap_determine_document_type (const char *document, oscap_document_type_t *doc_type)
  This function has been deprecated and it may be dropped from later OpenSCAP releases. Please use oscap_source_get_scap_type instead.
globalScope> Global oscap_path_to_schematron (void)
  This function has been deprecated. It has never returned correct path to schematron files. This function may be dropped from the next version of the library.
globalScope> Global oscap_schematron_validate_document (const char *xmlfile, oscap_document_type_t doctype, const char *version, const char *outfile)
  This function has been deprecated and it may be dropped from later OpenSCAP releases. Please use oscap_source_validate_schematron instead.
globalScope> Global oscap_text_xccdf_substitute (const char *text, xccdf_substitution_func cb, void *arg)
  This function has been deprecated. It cannot be applied on XCCDF 1.2+ documents given the xccdf:sub/ parameter.
globalScope> Global oscap_validate_document (const char *xmlfile, oscap_document_type_t doctype, const char *version, xml_reporter reporter, void *arg)
  This function has been deprecated and it may be dropped from later OpenSCAP releases. Please use oscap_source_validate instead.
globalScope> Global oval_agent_export_sysinfo_to_xccdf_result (struct oval_agent_session *session, struct xccdf_result *ritem)
  Transform OVAL Sysinfo into XCCDF Test Result This function has been deprecated, please use xccdf_result_fill_sysinfo() instead
Global oval_definition_model::oval_definition_model_import (const char *file)
  This function has been deprecated and it may be dropped from later OpenSCAP releases. Please use oval_definition_model_import_source instead.
Global oval_definition_model::oval_definition_model_merge (struct oval_definition_model *model, const char *file)
  This function has been deprecated and it may be dropped from later OpenSCAP releases.
globalScope> Global oval_determine_document_schema_version (const char *, oscap_document_type_t)
  This function has been deprecated by oscap_source_get_schema_version. This function may be dropped from later versions of the library.
Global oval_directives_model::oval_directives_model_import (struct oval_directives_model *, char *)
  This function has been deprecated and it may be dropped from later OpenSCAP releases. Please use oval_directives_model_import_source instead.
Global oval_results_model::oval_results_model_import (struct oval_results_model *model, const char *file)
  This function has been deprecated and it may be dropped from later OpenSCAP releases. Please use oval_results_model_import_source instead.
Global oval_syschar_model::oval_syschar_model_import (struct oval_syschar_model *model, const char *file)
  This function has been deprecated and it may be dropped from later OpenSCAP releases. Please use oval_syschar_model_import_source instead.
Global oval_variable_model::oval_variable_model_import (const char *file)
  This function has been deprecated and it may be dropped from later OpenSCAP releases. Please use oval_variable_model_import_source instead.
Global rds_index::rds_index_import (const char *file)
  This function has been deprecated. Make a use of ds_rds_session instread. This function may be dropped from later versions of the library.
Global xccdf_benchmark::xccdf_benchmark_import (const char *file)
  This function has been deprecated by xccdf_benchmark_import_source. This function may be dropped from later versions of the library.
Global xccdf_benchmark::xccdf_detect_version (const char *file)
  This function has been deprecated by oscap_source_get_schema_version. This function may be dropped from later versions of the library.
globalScope> Global xccdf_cleanup (void)
  Use oscap_cleanup() instead.
Global xccdf_policy::xccdf_policy_set_selected (struct xccdf_policy *policy, char *idref)
  This function is deprecated by xccdf_policy_add_select and might be dropped from future releases.
Global xccdf_policy_model::xccdf_policy_model_register_engine_callback (struct xccdf_policy_model *model, char *sys, void *func, void *usr)
  This function is deprecated by xccdf_policy_model_register_engine_and_query_callback and might be dropped from future releases.
globalScope> Global xccdf_policy_model_add_cpe_autodetect (struct xccdf_policy_model *model, const char *filepath)
  Deprecated in favor of xccdf_policy_model_add_cpe_autodetect_source
globalScope> Global xccdf_policy_model_add_cpe_dict (struct xccdf_policy_model *model, const char *cpe_dict)
  Deprecated in favor of xccdf_policy_model_add_cpe_dict_source
globalScope> Global xccdf_policy_model_add_cpe_lang_model (struct xccdf_policy_model *model, const char *cpe_lang)
  Deprecated in favor of xccdf_policy_model_add_cpe_lang_model_source
globalScope> Global xccdf_policy_tailor_item (struct xccdf_policy *policy, struct xccdf_item *item)
  This function is deprecated and might be dropped from future releases.
Global xccdf_result::xccdf_result_export (struct xccdf_result *result, const char *file)
  This function has been deprecated by xccdf_benchmark_export_source. This function may be dropped from later versions of the library.
Global xccdf_session::xccdf_session_export_sce (struct xccdf_session *session)

  Please use xccdf_session_export_check_engine_plugins instead.

  Parameters

    session | XCCDF Session

  Returns
    zero on success
globalScope> Global xccdf_session_load_sce (struct xccdf_session *session)
  SCE is no longer part of the main openscap library, use xccdf_session_load_check_engine_plugins instead.
globalScope> Global xccdf_subst_type_t
  This type is deprecated. It is not flexible enough to be applied on XCCDF 1.2+ documents. Please use xml_iterate module instead.
globalScope> Global xccdf_subst_type_t
  This type is deprecated. It is not flexible enough to be applied on XCCDF 1.2+ documents. Please use xml_iterate module instead.
globalScope> Global xccdf_substitution_func )(xccdf_subst_type_t type, const char *id, void *arg)
  This callback has been deprecated. It cannot be applied on XCCDF 1.2+ documents given the xccdf:sub/ parameter.