I think this is a reasonable mapping from your original C ++ to Ada:
For starters, the corresponding more or less, I think yours namespace misc, in the file misc.ads,
package Misc is
end Misc;
Then, the corresponding config.hh, in the file misc-config.ads,
package Misc.Config is
type A is (For_Example, An_Enumeration);
type A_Access is access A;
end Misc.Config;
(, , Misc). , code.hh, misc-code.ads,
with Misc.Config;
package Misc.Code is
use Config;
procedure P (A : A_Access);
end Misc.Code;
wouldnt use Config;, - , - . , use Config; use Misc.Config;, , youre Misc; , , use Misc.Config;.