pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
watchdog.c File Reference
#include <crm_internal.h>
#include <sched.h>
#include <sys/ioctl.h>
#include <sys/reboot.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <ctype.h>
#include <dirent.h>
#include <signal.h>
Include dependency graph for watchdog.c:

Go to the source code of this file.

Enumerations

enum  pcmk_panic_flags { pcmk_panic_none = 0x00, pcmk_panic_delay = 0x01, pcmk_panic_kdump = 0x02, pcmk_panic_shutdown = 0x04 }
 

Functions

void pcmk_panic (const char *origin)
 
pid_t pcmk_locate_sbd (void)
 
long pcmk__get_sbd_timeout (void)
 
long pcmk__auto_watchdog_timeout ()
 
bool pcmk__valid_sbd_timeout (const char *value)
 

Enumeration Type Documentation

Enumerator
pcmk_panic_none 
pcmk_panic_delay 
pcmk_panic_kdump 
pcmk_panic_shutdown 

Definition at line 29 of file watchdog.c.

Function Documentation

long pcmk__auto_watchdog_timeout ( void  )

Definition at line 231 of file watchdog.c.

long pcmk__get_sbd_timeout ( void  )

Definition at line 220 of file watchdog.c.

bool pcmk__valid_sbd_timeout ( const char *  value)

Definition at line 239 of file watchdog.c.

pid_t pcmk_locate_sbd ( void  )

Definition at line 179 of file watchdog.c.

void pcmk_panic ( const char *  origin)

Definition at line 147 of file watchdog.c.