pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Data Structures | Macros | Functions
services_private.h File Reference
#include <glib.h>
#include "crm/services.h"
Include dependency graph for services_private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  svc_action_private_s
 

Macros

#define MAX_ARGC   255
 

Functions

G_GNUC_INTERNAL const char * services__action_kind (const svc_action_t *action)
 
G_GNUC_INTERNAL GList * services_os_get_single_directory_list (const char *root, gboolean files, gboolean executable)
 
G_GNUC_INTERNAL GList * services_os_get_directory_list (const char *root, gboolean files, gboolean executable)
 
G_GNUC_INTERNAL int services__execute_file (svc_action_t *op)
 
G_GNUC_INTERNAL gboolean cancel_recurring_action (svc_action_t *op)
 
G_GNUC_INTERNAL gboolean recurring_action_timer (gpointer data)
 
G_GNUC_INTERNAL int services__finalize_async_op (svc_action_t *op)
 
G_GNUC_INTERNAL int services__generic_error (const svc_action_t *op)
 
G_GNUC_INTERNAL int services__not_installed_error (const svc_action_t *op)
 
G_GNUC_INTERNAL int services__authorization_error (const svc_action_t *op)
 
G_GNUC_INTERNAL int services__configuration_error (const svc_action_t *op, bool is_fatal)
 
G_GNUC_INTERNAL void services__handle_exec_error (svc_action_t *op, int error)
 
G_GNUC_INTERNAL void services__set_cancelled (svc_action_t *action)
 
G_GNUC_INTERNAL void services_add_inflight_op (svc_action_t *op)
 
G_GNUC_INTERNAL void services_untrack_op (const svc_action_t *op)
 
G_GNUC_INTERNAL gboolean is_op_blocked (const char *rsc)
 

Macro Definition Documentation

◆ MAX_ARGC

#define MAX_ARGC   255

Definition at line 21 of file services_private.h.

Function Documentation

◆ cancel_recurring_action()

G_GNUC_INTERNAL gboolean cancel_recurring_action ( svc_action_t op)

Definition at line 636 of file services.c.

◆ is_op_blocked()

G_GNUC_INTERNAL gboolean is_op_blocked ( const char *  rsc)

Definition at line 908 of file services.c.

◆ recurring_action_timer()

G_GNUC_INTERNAL gboolean recurring_action_timer ( gpointer  data)

Definition at line 506 of file services_linux.c.

◆ services__action_kind()

G_GNUC_INTERNAL const char* services__action_kind ( const svc_action_t action)

Definition at line 1350 of file services.c.

◆ services__authorization_error()

G_GNUC_INTERNAL int services__authorization_error ( const svc_action_t op)

Definition at line 821 of file services_linux.c.

◆ services__configuration_error()

G_GNUC_INTERNAL int services__configuration_error ( const svc_action_t op,
bool  is_fatal 
)

Definition at line 857 of file services_linux.c.

◆ services__execute_file()

G_GNUC_INTERNAL int services__execute_file ( svc_action_t op)

Definition at line 1210 of file services_linux.c.

◆ services__finalize_async_op()

G_GNUC_INTERNAL int services__finalize_async_op ( svc_action_t op)

Definition at line 542 of file services_linux.c.

◆ services__generic_error()

G_GNUC_INTERNAL int services__generic_error ( const svc_action_t op)

Definition at line 751 of file services_linux.c.

◆ services__handle_exec_error()

G_GNUC_INTERNAL void services__handle_exec_error ( svc_action_t op,
int  error 
)

Definition at line 889 of file services_linux.c.

◆ services__not_installed_error()

G_GNUC_INTERNAL int services__not_installed_error ( const svc_action_t op)

Definition at line 786 of file services_linux.c.

◆ services__set_cancelled()

G_GNUC_INTERNAL void services__set_cancelled ( svc_action_t action)

Definition at line 1332 of file services.c.

◆ services_add_inflight_op()

G_GNUC_INTERNAL void services_add_inflight_op ( svc_action_t op)

Definition at line 833 of file services.c.

◆ services_os_get_directory_list()

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

Definition at line 1458 of file services_linux.c.

◆ services_os_get_single_directory_list()

G_GNUC_INTERNAL GList* services_os_get_single_directory_list ( const char *  root,
gboolean  files,
gboolean  executable 
)

Definition at line 1403 of file services_linux.c.

◆ services_untrack_op()

G_GNUC_INTERNAL void services_untrack_op ( const svc_action_t op)

Definition at line 854 of file services.c.