pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
Data Structures | Macros | Functions
services_private.h File Reference
#include <unistd.h>
#include <glib.h>
#include <crm/common/mainloop.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 28 of file services_private.h.

Function Documentation

◆ cancel_recurring_action()

G_GNUC_INTERNAL gboolean cancel_recurring_action ( svc_action_t op)

Definition at line 618 of file services.c.

◆ is_op_blocked()

G_GNUC_INTERNAL gboolean is_op_blocked ( const char *  rsc)

Definition at line 883 of file services.c.

◆ recurring_action_timer()

G_GNUC_INTERNAL gboolean recurring_action_timer ( gpointer  data)

Definition at line 520 of file services_linux.c.

◆ services__action_kind()

G_GNUC_INTERNAL const char* services__action_kind ( const svc_action_t action)

Definition at line 1293 of file services.c.

◆ services__authorization_error()

G_GNUC_INTERNAL int services__authorization_error ( const svc_action_t op)

Definition at line 827 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 859 of file services_linux.c.

◆ services__execute_file()

G_GNUC_INTERNAL int services__execute_file ( svc_action_t op)

Definition at line 1208 of file services_linux.c.

◆ services__finalize_async_op()

G_GNUC_INTERNAL int services__finalize_async_op ( svc_action_t op)

Definition at line 556 of file services_linux.c.

◆ services__generic_error()

G_GNUC_INTERNAL int services__generic_error ( const svc_action_t op)

Definition at line 765 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 887 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 796 of file services_linux.c.

◆ services__set_cancelled()

G_GNUC_INTERNAL void services__set_cancelled ( svc_action_t action)

Definition at line 1275 of file services.c.

◆ services_add_inflight_op()

G_GNUC_INTERNAL void services_add_inflight_op ( svc_action_t op)

Definition at line 808 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 1456 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 1401 of file services_linux.c.

◆ services_untrack_op()

G_GNUC_INTERNAL void services_untrack_op ( const svc_action_t op)

Definition at line 829 of file services.c.