pacemaker  2.1.1-52dc28db4
Scalable High-Availability cluster resource manager
Macros | Functions | Variables
services_linux.c File Reference
#include <crm_internal.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <errno.h>
#include <unistd.h>
#include <dirent.h>
#include <grp.h>
#include <string.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "crm/crm.h"
#include "crm/common/mainloop.h"
#include "crm/services.h"
#include "services_private.h"
Include dependency graph for services_linux.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

gboolean recurring_action_timer (gpointer data)
 
gboolean operation_finalize (svc_action_t *op)
 
void services__handle_exec_error (svc_action_t *op, int error)
 
gboolean services_os_action_execute (svc_action_t *op)
 
GList * services_os_get_directory_list (const char *root, gboolean files, gboolean executable)
 
GList * resources_os_list_ocf_providers (void)
 
GList * resources_os_list_ocf_agents (const char *provider)
 
gboolean services__ocf_agent_exists (const char *provider, const char *agent)
 

Variables

volatile struct sigchld_data_s * last_sigchld_data = NULL
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 13 of file services_linux.c.

Function Documentation

◆ operation_finalize()

gboolean operation_finalize ( svc_action_t op)

Definition at line 495 of file services_linux.c.

◆ recurring_action_timer()

gboolean recurring_action_timer ( gpointer  data)

Definition at line 476 of file services_linux.c.

◆ resources_os_list_ocf_agents()

GList* resources_os_list_ocf_agents ( const char *  provider)

Definition at line 1196 of file services_linux.c.

◆ resources_os_list_ocf_providers()

GList* resources_os_list_ocf_providers ( void  )

Definition at line 1190 of file services_linux.c.

◆ services__handle_exec_error()

void services__handle_exec_error ( svc_action_t op,
int  error 
)

Definition at line 635 of file services_linux.c.

◆ services__ocf_agent_exists()

gboolean services__ocf_agent_exists ( const char *  provider,
const char *  agent 
)

Definition at line 1220 of file services_linux.c.

◆ services_os_action_execute()

gboolean services_os_action_execute ( svc_action_t op)

Definition at line 880 of file services_linux.c.

◆ services_os_get_directory_list()

GList* services_os_get_directory_list ( const char *  root,
gboolean  files,
gboolean  executable 
)

Definition at line 1136 of file services_linux.c.

Variable Documentation

◆ last_sigchld_data

volatile struct sigchld_data_s* last_sigchld_data = NULL

Definition at line 142 of file services_linux.c.