| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | open CUnix |
| 12 | open Names |
| 13 | open Safe_typing |
| 14 | |
| 15 | type section_path = { |
| 16 | dirpath : string list; |
| 17 | basename : string; |
| 18 | } |
| 19 | |
| 20 | type object_file = |
| 21 | | PhysicalFile of physical_path |
| 22 | | LogicalFile of section_path |
| 23 | |
| 24 | type logical_path = DirPath.t |
| 25 | |
| 26 | val default_root_prefix : DirPath.t |
| 27 | |
| 28 | val add_load_path : physical_path * logical_path -> unit |
| 29 | |
| 30 | val recheck_library : safe_environment -> |
| 31 | norec:object_file list -> |
| 32 | admit:object_file list -> |
| 33 | check:object_file list -> safe_environment * Cset.t Cmap.t |