]> git.proxmox.com Git - mirror_frr.git/blame - lib/systemd.h
Merge pull request #531 from qlyoung/fix-stack-ref
[mirror_frr.git] / lib / systemd.h
CommitLineData
ddd82ff6
DS
1/* lib/systemd Code
2 Copyright (C) 2016 Cumulus Networks, Inc.
3 Donald Sharp
4
5This file is part of Quagga.
6
7Quagga is free software; you can redistribute it and/or modify it
8under the terms of the GNU General Public License as published by the
9Free Software Foundation; either version 2, or (at your option) any
10later version.
11
12Quagga is distributed in the hope that it will be useful, but
13WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with Quagga; see the file COPYING. If not, write to the Free
19Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2002111-1307, USA. */
21
22/*
23 * Wrapper functions to systemd calls.
24 *
25 * Design point is that if systemd is not being used on this system
26 * then these functions becomes a no-op.
27 *
28 * To turn on systemd compilation, use --enable-systemd on
29 * configure run.
30 */
31void systemd_send_information (const char *info);
32void systemd_send_stopping (void);
651415bd
DS
33
34/*
35 * master - The struct thread_master * to use to schedule ourself
36 * the_process - Should we send watchdog if we are not the requested
37 * process?
38 */
39void systemd_send_started (struct thread_master *master, int the_process);
ddd82ff6 40