root/lib/services/systemd.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* 
   2  * This program is free software; you can redistribute it and/or
   3  * modify it under the terms of the GNU Lesser General Public
   4  * License as published by the Free Software Foundation; either
   5  * version 2.1 of the License, or (at your option) any later version.
   6  * 
   7  * This software is distributed in the hope that it will be useful,
   8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  10  * General Public License for more details.
  11  * 
  12  * You should have received a copy of the GNU Lesser General Public
  13  * License along with this library; if not, write to the Free Software
  14  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  15  *
  16  * Copyright (C) 2012 Andrew Beekhof <andrew@beekhof.net>
  17  */
  18 
  19 #ifndef SYSTEMD__H
  20 #  define SYSTEMD__H
  21 
  22 #  include <glib.h>
  23 #  include "crm/services.h"
  24 
  25 G_GNUC_INTERNAL GList *systemd_unit_listall(void);
  26 G_GNUC_INTERNAL gboolean systemd_unit_exec(svc_action_t * op);
  27 G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar * name);
  28 G_GNUC_INTERNAL void systemd_cleanup(void);
  29 
  30 #endif  /* SYSTEMD__H */

/* [previous][next][first][last][top][bottom][index][help] */