blob: 996de2f4c751337b18eba4cd435b12cdf6eb0796 [file] [edit]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// The list of functions that make up the LLVM CAS plugin API.
///
/// Format is Name/required. If 'required' is true then loading will fail if the
/// symbol is missing, otherwise loading will continue and the function pointer
/// will be null. Order is lexicographically by name.
///
//===----------------------------------------------------------------------===//
CASPLUGINAPI_FUNCTION(actioncache_get_for_digest, true)
CASPLUGINAPI_FUNCTION(actioncache_get_for_digest_async, true)
CASPLUGINAPI_FUNCTION(actioncache_put_for_digest, true)
CASPLUGINAPI_FUNCTION(actioncache_put_for_digest_async, true)
CASPLUGINAPI_FUNCTION(actioncache_validate, false)
CASPLUGINAPI_FUNCTION(cancellable_cancel, false)
CASPLUGINAPI_FUNCTION(cancellable_dispose, false)
CASPLUGINAPI_FUNCTION(cas_contains_object, true)
CASPLUGINAPI_FUNCTION(cas_create, true)
CASPLUGINAPI_FUNCTION(cas_dispose, true)
CASPLUGINAPI_FUNCTION(cas_get_hash_schema_name, true)
CASPLUGINAPI_FUNCTION(cas_get_objectid, true)
CASPLUGINAPI_FUNCTION(cas_get_ondisk_size, false)
CASPLUGINAPI_FUNCTION(cas_load_object, true)
CASPLUGINAPI_FUNCTION(cas_load_object_async, true)
CASPLUGINAPI_FUNCTION(cas_options_create, true)
CASPLUGINAPI_FUNCTION(cas_options_dispose, true)
CASPLUGINAPI_FUNCTION(cas_options_set_client_version, true)
CASPLUGINAPI_FUNCTION(cas_options_set_ondisk_path, true)
CASPLUGINAPI_FUNCTION(cas_options_set_option, true)
CASPLUGINAPI_FUNCTION(cas_prune_ondisk_data, false)
CASPLUGINAPI_FUNCTION(cas_set_ondisk_size_limit, false)
CASPLUGINAPI_FUNCTION(cas_store_from_filepath, false)
CASPLUGINAPI_FUNCTION(cas_store_object, true)
CASPLUGINAPI_FUNCTION(cas_validate, false)
CASPLUGINAPI_FUNCTION(digest_parse, true)
CASPLUGINAPI_FUNCTION(digest_print, true)
CASPLUGINAPI_FUNCTION(get_plugin_version, true)
CASPLUGINAPI_FUNCTION(loaded_object_export_data_to_filepath, false)
CASPLUGINAPI_FUNCTION(loaded_object_get_data, true)
CASPLUGINAPI_FUNCTION(loaded_object_get_refs, true)
CASPLUGINAPI_FUNCTION(object_refs_get_count, true)
CASPLUGINAPI_FUNCTION(object_refs_get_id, true)
CASPLUGINAPI_FUNCTION(objectid_get_digest, true)
CASPLUGINAPI_FUNCTION(string_dispose, true)