path-lookup: move NETWORK_DIRS to network-util.h

This commit is contained in:
Mike Yuan
2024-10-06 19:27:11 +02:00
parent 1a7627f4e1
commit cd7d732dc5
7 changed files with 9 additions and 3 deletions
-3
View File
@@ -70,8 +70,5 @@ void lookup_paths_done(LookupPaths *p);
char **generator_binary_paths(RuntimeScope scope);
char **env_generator_binary_paths(RuntimeScope scope);
#define NETWORK_DIRS ((const char* const*) CONF_PATHS_STRV("systemd/network"))
#define NETWORK_DIRS_NULSTR CONF_PATHS_NULSTR("systemd/network")
#define PORTABLE_PROFILE_DIRS CONF_PATHS_NULSTR("systemd/portable/profile")
int find_portable_profile(const char *name, const char *unit, char **ret_path);