chiark / gitweb /
unit: add ConditionACPower=
[elogind.git] / src / shared / util.h
index 25b349a17a0c1ff9be109963635b7a69ee521186..bb6602fb243636109f8cd774c0d6be9ff72c535f 100644 (file)
@@ -561,3 +561,5 @@ const char *draw_special_char(DrawSpecialChar ch);
 char *strreplace(const char *text, const char *old_string, const char *new_string);
 
 char *strip_tab_ansi(char **p, size_t *l);
 char *strreplace(const char *text, const char *old_string, const char *new_string);
 
 char *strip_tab_ansi(char **p, size_t *l);
+
+int on_ac_power(void);