logind-button.h revision 65b5116220a8ebf8a260716152409aa05377aacc
3802a3d3d7af51ddff31943d5514382f01265770Lennart Poettering/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-Szmek This file is part of systemd.
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-Szmek Copyright 2012 Lennart Poettering
5de0ccffcc4a5a946102a14e0b0e681d964e3225Zbigniew Jędrzejewski-Szmek systemd is free software; you can redistribute it and/or modify it
5de0ccffcc4a5a946102a14e0b0e681d964e3225Zbigniew Jędrzejewski-Szmek under the terms of the GNU Lesser General Public License as published by
5de0ccffcc4a5a946102a14e0b0e681d964e3225Zbigniew Jędrzejewski-Szmek the Free Software Foundation; either version 2.1 of the License, or
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-Szmek (at your option) any later version.
5de0ccffcc4a5a946102a14e0b0e681d964e3225Zbigniew Jędrzejewski-Szmek systemd is distributed in the hope that it will be useful, but
5de0ccffcc4a5a946102a14e0b0e681d964e3225Zbigniew Jędrzejewski-Szmek WITHOUT ANY WARRANTY; without even the implied warranty of
5de0ccffcc4a5a946102a14e0b0e681d964e3225Zbigniew Jędrzejewski-Szmek MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-Szmek Lesser General Public License for more details.
5de0ccffcc4a5a946102a14e0b0e681d964e3225Zbigniew Jędrzejewski-Szmek You should have received a copy of the GNU Lesser General Public License
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-Szmek along with systemd; If not, see <http://www.gnu.org/licenses/>.
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-SzmekButton* button_new(Manager *m, const char *name);
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-Szmekint button_set_seat(Button *b, const char *sn);
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-Szmekconst char* handle_button_to_string(HandleButton h);
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-SzmekHandleButton handle_button_from_string(const char *s);
cd6d5e1c7631d6e74cb04be279dee22e423e08b8Zbigniew Jędrzejewski-Szmekint config_parse_handle_button(const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);