pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define BUS_NAME   "com.ubuntu.Upstart"

Definition at line 25 of file upstart.c.

#define BUS_PATH   "/com/ubuntu/Upstart"

Definition at line 26 of file upstart.c.

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

Definition at line 30 of file upstart.c.

#define UPSTART_06_API   BUS_NAME"0_6"

Definition at line 28 of file upstart.c.

#define UPSTART_JOB_IFACE   UPSTART_06_API".Job"

Definition at line 29 of file upstart.c.

Function Documentation

void upstart_cleanup ( void  )

Definition at line 53 of file upstart.c.

gboolean upstart_job_exec ( svc_action_t op)

Definition at line 418 of file upstart.c.

gboolean upstart_job_exists ( const char *  name)

Definition at line 231 of file upstart.c.

GList* upstart_job_listall ( void  )

Definition at line 149 of file upstart.c.