| 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | /// |
| 9 | /// \file |
| 10 | /// The list of functions that make up the LLVM CAS plugin API. |
| 11 | /// |
| 12 | /// Format is Name/required. If 'required' is true then loading will fail if the |
| 13 | /// symbol is missing, otherwise loading will continue and the function pointer |
| 14 | /// will be null. Order is lexicographically by name. |
| 15 | /// |
| 16 | //===----------------------------------------------------------------------===// |
| 17 | |
| 18 | CASPLUGINAPI_FUNCTION(actioncache_get_for_digest, true) |
| 19 | CASPLUGINAPI_FUNCTION(actioncache_get_for_digest_async, true) |
| 20 | CASPLUGINAPI_FUNCTION(actioncache_put_for_digest, true) |
| 21 | CASPLUGINAPI_FUNCTION(actioncache_put_for_digest_async, true) |
| 22 | CASPLUGINAPI_FUNCTION(actioncache_validate, false) |
| 23 | CASPLUGINAPI_FUNCTION(cancellable_cancel, false) |
| 24 | CASPLUGINAPI_FUNCTION(cancellable_dispose, false) |
| 25 | CASPLUGINAPI_FUNCTION(cas_contains_object, true) |
| 26 | CASPLUGINAPI_FUNCTION(cas_create, true) |
| 27 | CASPLUGINAPI_FUNCTION(cas_dispose, true) |
| 28 | CASPLUGINAPI_FUNCTION(cas_get_hash_schema_name, true) |
| 29 | CASPLUGINAPI_FUNCTION(cas_get_objectid, true) |
| 30 | CASPLUGINAPI_FUNCTION(cas_get_ondisk_size, false) |
| 31 | CASPLUGINAPI_FUNCTION(cas_load_object, true) |
| 32 | CASPLUGINAPI_FUNCTION(cas_load_object_async, true) |
| 33 | CASPLUGINAPI_FUNCTION(cas_options_create, true) |
| 34 | CASPLUGINAPI_FUNCTION(cas_options_dispose, true) |
| 35 | CASPLUGINAPI_FUNCTION(cas_options_set_client_version, true) |
| 36 | CASPLUGINAPI_FUNCTION(cas_options_set_ondisk_path, true) |
| 37 | CASPLUGINAPI_FUNCTION(cas_options_set_option, true) |
| 38 | CASPLUGINAPI_FUNCTION(cas_prune_ondisk_data, false) |
| 39 | CASPLUGINAPI_FUNCTION(cas_set_ondisk_size_limit, false) |
| 40 | CASPLUGINAPI_FUNCTION(cas_store_from_filepath, false) |
| 41 | CASPLUGINAPI_FUNCTION(cas_store_object, true) |
| 42 | CASPLUGINAPI_FUNCTION(cas_validate, false) |
| 43 | CASPLUGINAPI_FUNCTION(digest_parse, true) |
| 44 | CASPLUGINAPI_FUNCTION(digest_print, true) |
| 45 | CASPLUGINAPI_FUNCTION(get_plugin_version, true) |
| 46 | CASPLUGINAPI_FUNCTION(loaded_object_export_data_to_filepath, false) |
| 47 | CASPLUGINAPI_FUNCTION(loaded_object_get_data, true) |
| 48 | CASPLUGINAPI_FUNCTION(loaded_object_get_refs, true) |
| 49 | CASPLUGINAPI_FUNCTION(loaded_object_get_standalone_data, false) |
| 50 | CASPLUGINAPI_FUNCTION(object_refs_get_count, true) |
| 51 | CASPLUGINAPI_FUNCTION(object_refs_get_id, true) |
| 52 | CASPLUGINAPI_FUNCTION(objectid_get_digest, true) |
| 53 | CASPLUGINAPI_FUNCTION(standalone_data_dispose, false) |
| 54 | CASPLUGINAPI_FUNCTION(string_dispose, true) |
| 55 | |