X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fload-fragment.h;h=ce10d03c3fa9176e6fa3b9cf954fd3b6632b9f89;hb=4543768d13946e9193b367330cb32ded4d96058a;hp=a799c9a6903260ea2d501037bf703359da950afd;hpb=2ca620c4ed28c01f285d869d0b22f22a360957da;p=elogind.git diff --git a/src/core/load-fragment.h b/src/core/load-fragment.h index a799c9a69..ce10d03c3 100644 --- a/src/core/load-fragment.h +++ b/src/core/load-fragment.h @@ -103,7 +103,14 @@ int config_parse_no_new_privileges(const char *unit, const char *filename, unsig int config_parse_cpu_quota(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_protect_home(const char* unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); int config_parse_protect_system(const char* unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); +int config_parse_bus_name(const char* unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); /* gperf prototypes */ const struct ConfigPerfItem* load_fragment_gperf_lookup(const char *key, unsigned length); extern const char load_fragment_gperf_nulstr[]; + +typedef enum Disabled { + DISABLED_CONFIGURATION, + DISABLED_LEGACY, + DISABLED_EXPERIMENTAL, +} Disabled;