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) 2010 Senko Rasic <senko.rasic@dobarkod.hr> 17 * Copyright (c) 2010 Ante Karamatic <ivoks@init.hr> 18 */ 19 #ifndef UPSTART__H 20 # define UPSTART__H 21 22 # include <glib.h> 23 # include "crm/services.h" 24 25 G_GNUC_INTERNAL GList *upstart_job_listall(void); 26 G_GNUC_INTERNAL gboolean upstart_job_exec(svc_action_t * op); 27 G_GNUC_INTERNAL gboolean upstart_job_exists(const gchar * name); 28 G_GNUC_INTERNAL void upstart_cleanup(void); 29 30 #endif /* UPSTART__H */