path.h revision 18c78fb1af5415bb6f87d9c7cae1f9c60e14ae24
71092d70af35567dd154d3de2ce04ce62e157a7cLennart Poettering/*-*- Mode: C; c-basic-offset: 8 -*-*/
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers This file is part of systemd.
f957632b960a0a42999b38ded7089fa602b41745Kay Sievers Copyright 2010 Lennart Poettering
9a36607584bbd1d78775353e022a51794b4e27b1Lennart Poettering systemd is free software; you can redistribute it and/or modify it
a40593a0d0d740efa387e35411e1e456a6c5aba7Lennart Poettering under the terms of the GNU General Public License as published by
20ffc4c4a9226b0e45cc02ad9c0108981626c0bbKay Sievers the Free Software Foundation; either version 2 of the License, or
7bcd865d386d96caac83cb1c589fdb8f9ce3b081Zbigniew Jędrzejewski-Szmek (at your option) any later version.
7bcd865d386d96caac83cb1c589fdb8f9ce3b081Zbigniew Jędrzejewski-Szmek systemd is distributed in the hope that it will be useful, but
2f8d077ece024b985f2501dc8c904c2d29967acbKay Sievers WITHOUT ANY WARRANTY; without even the implied warranty of
2f8d077ece024b985f2501dc8c904c2d29967acbKay Sievers MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2d19f95caef8668aeb5c05a18b39c6b79f710856Kay Sievers General Public License for more details.
2f8d077ece024b985f2501dc8c904c2d29967acbKay Sievers You should have received a copy of the GNU General Public License
81d112a8f0522a09fcfe317f420363a2b728137cLennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poetteringtypedef struct PathSpec {
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poetteringvoid path_unit_notify(Unit *u, UnitActiveState new_state);
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering/* Called from the mount code figure out if a mount is a dependency of
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poettering * any of the paths of this path object */
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poetteringint path_add_one_mount_link(Path *p, Mount *m);
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poetteringconst char* path_state_to_string(PathState i);
3679d1126bae52e02f6cd60fca196f616b9e660dLennart PoetteringPathState path_state_from_string(const char *s);
3679d1126bae52e02f6cd60fca196f616b9e660dLennart Poetteringconst char* path_type_to_string(PathType i);