chiark / gitweb /
tree-wide: drop 'This file is part of systemd' blurb
[elogind.git] / src / login / logind-action.h
index 8c7de83e8ff15ec0981d0bb98eaff8637606dd9d..2d149fc2c9694321a96bf195a79dbec02f27f28d 100644 (file)
@@ -2,11 +2,11 @@
 #pragma once
 
 /***
-  This file is part of systemd.
-
   Copyright 2012 Lennart Poettering
 ***/
 
+//#include "conf-parser.h"
+
 typedef enum HandleAction {
         HANDLE_IGNORE,
         HANDLE_POWEROFF,
@@ -35,4 +35,6 @@ int manager_handle_action(
 const char* handle_action_to_string(HandleAction h) _const_;
 HandleAction handle_action_from_string(const char *s) _pure_;
 
-int config_parse_handle_action(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);
+const char* manager_target_for_action(HandleAction handle);
+
+CONFIG_PARSER_PROTOTYPE(config_parse_handle_action);