]> Git Repo - qemu.git/commit
modules: dependencies infrastructure
authorGerd Hoffmann <[email protected]>
Mon, 19 Oct 2020 07:52:20 +0000 (09:52 +0200)
committerGerd Hoffmann <[email protected]>
Wed, 21 Oct 2020 13:46:14 +0000 (15:46 +0200)
commit6f13fa7a9825e85e35927cbb51a992e158798424
tree64fbe8eae1cafb1a1c58bb0c5a7272bff1281e54
parent9ed345a14ed3cfa2345cabfe8759e62463c356a1
modules: dependencies infrastructure

Allow modules depending on other modules.

module_load_file() gets the option to export symbols (by not adding the
G_MODULE_BIND_LOCAL flag).

module_load_one() will check the module dependency list to figure (a)
whenever are other modules must be loaded first, or (b) the module
should export the symbols.

The dependencies are specificed as static list in the source code for
now as I expect the list will stay small.

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
Message-id: 20201019075224[email protected]
util/module.c
This page took 0.021615 seconds and 4 git commands to generate.