#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 <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"
Go to the source code of this file.
#define sigchld_cleanup |
( |
| ) |
|
Value:do { \
if (sigaction(SIGCHLD, &old_sa, NULL) < 0) {
\
crm_perror(LOG_ERR,
"sigaction() failed to remove sigchld handler"); \
} \
close(sigchld_pipe[0]); \
close(sigchld_pipe[1]); \
sigchld_pipe[0] = sigchld_pipe[1] = -1; \
} while(0)
#define crm_perror(level, fmt, args...)
Log a system error message.
gboolean recurring_action_timer |
( |
gpointer |
data | ) |
|
GList* resources_os_list_lsb_agents |
( |
void |
| ) |
|
GList* resources_os_list_ocf_agents |
( |
const char * |
provider | ) |
|
GList* resources_os_list_ocf_providers |
( |
void |
| ) |
|
GList* services_os_get_directory_list |
( |
const char * |
root, |
|
|
gboolean |
files, |
|
|
gboolean |
executable |
|
) |
| |