pacemaker  2.1.1-52dc28db4
Scalable High-Availability cluster resource manager
Macros | Functions
upstart.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <crm/crm.h>
#include <crm/services.h>
#include <crm/common/mainloop.h>
#include <services_private.h>
#include <upstart.h>
#include <dbus/dbus.h>
#include <pcmk-dbus.h>
#include <glib.h>
#include <gio/gio.h>
Include dependency graph for upstart.c:

Go to the source code of this file.

Macros

#define BUS_NAME   "com.ubuntu.Upstart"
 
#define BUS_PATH   "/com/ubuntu/Upstart"
 
#define UPSTART_06_API   BUS_NAME"0_6"
 
#define UPSTART_JOB_IFACE   UPSTART_06_API".Job"
 
#define BUS_PROPERTY_IFACE   "org.freedesktop.DBus.Properties"
 

Functions

void upstart_cleanup (void)
 
GList * upstart_job_listall (void)
 
gboolean upstart_job_exists (const char *name)
 
gboolean upstart_job_exec (svc_action_t *op)
 

Macro Definition Documentation

◆ BUS_NAME

#define BUS_NAME   "com.ubuntu.Upstart"

Definition at line 25 of file upstart.c.

◆ BUS_PATH

#define BUS_PATH   "/com/ubuntu/Upstart"

Definition at line 26 of file upstart.c.

◆ BUS_PROPERTY_IFACE

#define BUS_PROPERTY_IFACE   "org.freedesktop.DBus.Properties"

Definition at line 30 of file upstart.c.

◆ UPSTART_06_API

#define UPSTART_06_API   BUS_NAME"0_6"

Definition at line 28 of file upstart.c.

◆ UPSTART_JOB_IFACE

#define UPSTART_JOB_IFACE   UPSTART_06_API".Job"

Definition at line 29 of file upstart.c.

Function Documentation

◆ upstart_cleanup()

void upstart_cleanup ( void  )

Definition at line 53 of file upstart.c.

◆ upstart_job_exec()

gboolean upstart_job_exec ( svc_action_t op)

Definition at line 418 of file upstart.c.

◆ upstart_job_exists()

gboolean upstart_job_exists ( const char *  name)

Definition at line 231 of file upstart.c.

◆ upstart_job_listall()

GList* upstart_job_listall ( void  )

Definition at line 149 of file upstart.c.